runtime(vim): Update base-syntax, improve folding function matches
- Allow function command modifiers. - Match function bodies starting with empty lines. Command modifiers reported by @Konfekt. fixes #15671 closes: #15674 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
e019f3626d
commit
35699f1749
@ -107,3 +107,15 @@ def Foo()
|
||||
"useless string"
|
||||
enddef
|
||||
|
||||
|
||||
" leading command separator
|
||||
|
||||
echo "Foo" | def Foo()
|
||||
enddef
|
||||
|
||||
|
||||
" command modifiers
|
||||
|
||||
silent! def Foo()
|
||||
enddef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user