1
0
forked from aniani/vim

runtime(vim): Update base-syntax, no curly-brace names in Vim9 script (#14466)

Remove curly-brace name matching for :def functions.  This is not
supported in Vim9 script.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-04-10 05:19:41 +10:00
committed by GitHub
parent a040019be6
commit e43ace558a
16 changed files with 130 additions and 162 deletions

View File

@@ -19,27 +19,11 @@ def Foo " comment
def Foo()
enddef
# curly-brace names
def {"F"}oo()
enddef
def F{"o"}o()
enddef
def Fo{"o"}()
enddef
def {"F"}o{"o"}()
enddef
def {"F"}{"o"}{"o"}()
enddef
def Foo(): number
return 42
enddef
# trailing whitespace
" trailing whitespace
def Foo(): number
return 42
enddef