0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

runtime(vim): Update base-syntax, fix function tail comments

Match Vim9-script comments after :def and :enddef and legacy-script
comments after :func and :endfunc, in any definition context.

Highlight incorrect comment types after these commands as errors.

fixes: #15062
closes: #15072

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2024-06-22 11:20:36 +02:00
committed by Christian Brabandt
parent f0e6914420
commit fc64ac0be2
25 changed files with 538 additions and 34 deletions

View File

@@ -86,7 +86,7 @@ def Foo()
enddef | echo "Foo"
def Foo()
enddef " comment
enddef # comment
" parameters