mirror of
https://github.com/vim/vim.git
synced 2026-05-01 07:57:10 +02:00
runtime(vim): Update base syntax, match Vim9 :unlet command
closes: #19290 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
079700ee45
commit
2e4c98b6f3
@@ -208,6 +208,35 @@ foo =<< eval trim END
|
||||
...
|
||||
END
|
||||
|
||||
# :unlet
|
||||
|
||||
unlet foo
|
||||
unlet foo bar
|
||||
unlet foo
|
||||
#\ comment
|
||||
\ bar
|
||||
|
||||
unlet! foo
|
||||
unlet! foo bar
|
||||
unlet! foo
|
||||
#\ comment
|
||||
\ bar
|
||||
|
||||
unlet $FOO
|
||||
unlet! $FOO
|
||||
|
||||
unlet list[3]
|
||||
unlet list[3:]
|
||||
unlet dict['two']
|
||||
unlet dict.two
|
||||
|
||||
unlet foo # comment
|
||||
unlet foo #\ comment
|
||||
unlet foo | echo "Foo"
|
||||
unlet foo bar # comment
|
||||
unlet foo bar #\ comment
|
||||
unlet foo bar | echo "Foo"
|
||||
|
||||
# :for
|
||||
|
||||
for foo in expr
|
||||
|
||||
Reference in New Issue
Block a user