Mercurial > vim
view src/testdir/test_eval_func.vim @ 18564:c14f5d3a205d v8.1.2276
patch 8.1.2276: MS-Windows: session test leaves files behind
Commit: https://github.com/vim/vim/commit/5bf46e978619ff602a7c63dd98e19de8248236b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 9 18:06:04 2019 +0100
patch 8.1.2276: MS-Windows: session test leaves files behind
Problem: MS-Windows: session test leaves files behind.
Solution: Wipe out buffers before deleting the directory. (closes https://github.com/vim/vim/issues/5187)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Nov 2019 18:15:03 +0100 |
parents | 63b02fcf1361 |
children |
line wrap: on
line source
" Vim script used in test_eval.in. Needed for script-local function. func s:Testje() return "foo" endfunc let Bar = function('s:Testje') $put ='s:Testje exists: ' . exists('s:Testje') $put ='func s:Testje exists: ' . exists('*s:Testje') $put ='Bar exists: ' . exists('Bar') $put ='func Bar exists: ' . exists('*Bar')