view src/testdir/test_eval_func.vim @ 12936:c53a80f39a52 v8.0.1344

patch 8.0.1344: using 'imactivatefunc' in the GUI does not work commit https://github.com/vim/vim/commit/2877d334ad1321d1fcd5f903c0493bd0cdd787f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 26 14:56:16 2017 +0100 patch 8.0.1344: using 'imactivatefunc' in the GUI does not work Problem: Using 'imactivatefunc' in the GUI does not work. Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
author Christian Brabandt <cb@256bit.org>
date Sun, 26 Nov 2017 15:00:06 +0100
parents 1a5ed2626b26
children 63b02fcf1361
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')