view src/testdir/test_eval_func.vim @ 17541:d9aa921b7198 v8.1.1768

patch 8.1.1768: man plugin changes setting in current window commit https://github.com/vim/vim/commit/bca9c301936c9ba4ee67528f81393debf83844b9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 15:28:45 2019 +0200 patch 8.1.1768: man plugin changes setting in current window Problem: Man plugin changes setting in current window. Solution: Set options later. (Jason Franklin)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 15:30: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')