Skip to content

Support default argument values #114

@flwyd

Description

@flwyd

Vim 8.1.1310 added default values for function arguments, e.g.

function Greet(greeting = 'hello')
  echo a:greeting 'world'
endfunction

vimdoc currently parses this as a two-arg function with parameters greeting and hello: Greet({greeting}, {hello}).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions