runtime(vim): Update base syntax, allow Vim9 :echo tail comments
- Match comments after Vim9 :echo and :execute. - Match comments after Vim9 and legacy :eval. closes: #18420 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
38b98bd8e6
commit
f4a6acd86e
@ -51,6 +51,11 @@ execute| echo "Foo"
|
||||
" trailing comment needs |
|
||||
execute "Foo" | " comment
|
||||
|
||||
def Vim9Context()
|
||||
# trailing comment allowed
|
||||
execute "Foo" # comment
|
||||
enddef
|
||||
|
||||
|
||||
" Issue #9987 (parenthesised argument - not a function call)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user