mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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
@@ -173,6 +173,18 @@ function Foo()
|
||||
endfunction
|
||||
|
||||
|
||||
" command modifiers
|
||||
|
||||
silent! function Foo()
|
||||
endfunction
|
||||
|
||||
|
||||
" leading command separator
|
||||
|
||||
echo "Foo" | function Foo()
|
||||
endfunction
|
||||
|
||||
|
||||
" delete function
|
||||
|
||||
delfunction Foo
|
||||
|
Reference in New Issue
Block a user