0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/syntax/testdir/input/vim9_expr.vim
Doug Kearns 4d427d4cab
runtime(vim): Update base-syntax, match Vim9 bool/null literal args to :if/:while/:return
Match Vim9 boolean and null literals in expression arguments of :if,
:elseif, :while and :return.

closes: #15684

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-09-15 19:21:18 +02:00

21 lines
187 B
VimL

vim9script
# Vim9-script expressions
# Command {expr} arguments
if true
echo true
elseif false
echo false
endif
while true
break
endwhile
def Foo(): bool
return true
enddef