Skip to content

Support default argument values #114

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}).

Activity

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

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