view src/testdir/test_eval_func.vim @ 16551:367a775ed430 v8.1.1279

patch 8.1.1279: cannot set 'spellang' to "sr@latin" commit https://github.com/vim/vim/commit/9a061cb78ccbf78ec9ae454d37a49edccb4e94fc Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 5 16:55:03 2019 +0200 patch 8.1.1279: cannot set 'spellang' to "sr@latin" Problem: Cannot set 'spellang' to "sr@latin". (Bojan Stipic) Solution: Allow using '@' in 'spellang'. (closes https://github.com/vim/vim/issues/4342)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 May 2019 17:00: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')