0
0
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:
Doug Kearns
2024-09-19 19:51:59 +02:00
committed by Christian Brabandt
parent e019f3626d
commit 35699f1749
48 changed files with 776 additions and 362 deletions

View File

@@ -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