1
0
forked from aniani/vim

runtime(vim): Update base-syntax, allow parens in default arguments

Allow parentheses in default arguments specified in :def and :function
definitions.

fixes #16243
closes: #16269

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2024-12-26 10:13:45 +01:00
committed by Christian Brabandt
parent de6a313014
commit 9b67a2e1dd
19 changed files with 89 additions and 39 deletions

View File

@@ -163,6 +163,11 @@ function Foo(
return 42
endfunction
" Issue #16243 (vimscript def parameters syntax highlight is wrong)
function Test(lines = [line('.'), line('.')])
endfunction
" comments