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:
committed by
Christian Brabandt
parent
f0e6914420
commit
fc64ac0be2
@@ -86,7 +86,7 @@ def Foo()
|
||||
enddef | echo "Foo"
|
||||
|
||||
def Foo()
|
||||
enddef " comment
|
||||
enddef # comment
|
||||
|
||||
|
||||
" parameters
|
||||
|
Reference in New Issue
Block a user