runtime(vim): Update base syntax, match :defer command argument
closes: #18159 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
97ea879b9b
commit
7239d95bf2
14
runtime/syntax/testdir/input/vim_ex_defer.vim
Normal file
14
runtime/syntax/testdir/input/vim_ex_defer.vim
Normal file
@ -0,0 +1,14 @@
|
||||
" Vim :defer command
|
||||
" VIM_TEST_SETUP hi link vimUserFunc Todo
|
||||
|
||||
|
||||
function Foo()
|
||||
defer delete("tmpfile")
|
||||
defer Delete("tmpfile")
|
||||
endfunction
|
||||
|
||||
def Bar()
|
||||
defer delete("tmpfile")
|
||||
defer Delete("tmpfile")
|
||||
enddef
|
||||
|
||||
Reference in New Issue
Block a user