mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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:
committed by
Christian Brabandt
parent
de6a313014
commit
9b67a2e1dd
@@ -99,6 +99,11 @@ def Foo(
|
||||
z: string = "zed")
|
||||
enddef
|
||||
|
||||
" Issue #16243 (vimscript def parameters syntax highlight is wrong)
|
||||
|
||||
def Test(lines: list<number> = [line('.'), line('.')]): void
|
||||
enddef
|
||||
|
||||
|
||||
" comments
|
||||
|
||||
|
Reference in New Issue
Block a user