Skip to content

Accept @function(name()) #45

Open

Description

@dbarnett

It's easy to get confused and write @function(name()) in vimdoc since the doc tag includes parentheses (name() vs name). We should consider accepting @function(name()) as equivalent to @function(name).

Note this will require changing the inline_directive regex to match the whole thing including the 2nd paren.

Activity

  1. vinsymoyya commented on Nov 14, 2026

    @vinsymoyya

    Opened #151. @function(name()) now produces the same tag link as @function(name), including relative autoload references. Unknown directives remain literal.

    The two reference regressions fail on upstream and all 12 local tests pass after the change. README documents the spelling; hosted checks are tracked on the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions