mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
closes: #18159 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
15 lines
215 B
VimL
15 lines
215 B
VimL
" 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
|
|
|