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:
Doug Kearns
2025-08-29 18:07:11 +02:00
committed by Christian Brabandt
parent 97ea879b9b
commit 7239d95bf2
5 changed files with 53 additions and 8 deletions

View 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