Open flwyd opened 4 years ago
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}).
vimdoc
greeting
hello
Greet({greeting}, {hello})
Awesome, yeah, we should definitely support this style!
Vim 8.1.1310 added default values for function arguments, e.g.
vimdoc
currently parses this as a two-arg function with parametersgreeting
andhello
:Greet({greeting}, {hello})
.