0
0
mirror of https://github.com/vim/vim.git synced 2025-10-19 08:04:27 -04:00
Files
vim/runtime/syntax/testdir/input/vim_ex_eval.vim
Doug Kearns f4a6acd86e 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>
2025-09-28 17:56:01 +00:00

21 lines
260 B
VimL

" Vim :eval command
eval "Foo"->append(0)
eval "Foo"
\ ->append(
\ 0
\ )
eval "Foo"->append(0) | echo "Foo"
echo "Foo" | eval "Foo"->append(0)
eval "Foo"->append(0) " comment
def Vim9Context()
eval "Foo"->append(0) # comment
enddef