aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_eval_func.vim
blob: 48d01df27d43ebedbc66fb714893419696308195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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')