Mercurial > vim
view src/testdir/test_eval_func.vim @ 11044:eb3a2ff3309a v8.0.0411
patch 8.0.0411: menu translations don't match when case is changed.
commit https://github.com/vim/vim/commit/11dd8c1201033dd74e2ea665ba277425b4b965b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 4 20:41:34 2017 +0100
patch 8.0.0411: menu translations don't match when case is changed.
Problem: We can't change the case in menu entries, it breaks translations.
Solution: Ignore case when looking up a menu translation.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Mar 2017 20:45:05 +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')