mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
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>
21 lines
187 B
VimL
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
|
|
|