Mercurial > vim
view src/testdir/test_eval_func.vim @ 16329:ee09f240ebcd
Added tag v8.1.1169 for changeset b576f2e069b73d828c14803284741b25d577c082
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Apr 2019 22:45:05 +0200 |
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')