Mercurial > vim
view src/testdir/test_eval_func.vim @ 19140:210c031da828
Added tag v8.2.0129 for changeset edf498427f99427e2a3add4df416bc45d4025b62
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jan 2020 16:15:04 +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')