From da51dc9cf202772f60bd2da975dbef257bd9237c Mon Sep 17 00:00:00 2001 From: Eliseo Martínez Date: Mon, 12 May 2014 02:25:17 +0200 Subject: Introduce nvim namespace: Move files. Move files from src/ to src/nvim/. - src/nvim/ becomes the new root dir for nvim executable sources. - src/libnvim/ is planned to become root dir of the neovim library. --- src/nvim/testdir/test_eval_func.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/nvim/testdir/test_eval_func.vim (limited to 'src/nvim/testdir/test_eval_func.vim') diff --git a/src/nvim/testdir/test_eval_func.vim b/src/nvim/testdir/test_eval_func.vim new file mode 100644 index 0000000000..48d01df27d --- /dev/null +++ b/src/nvim/testdir/test_eval_func.vim @@ -0,0 +1,12 @@ +" 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') -- cgit