Mercurial > vim
view src/testdir/test_eval_func.vim @ 6114:65b0974c5beb v7.4.395
updated for version 7.4.395
Problem: C indent is wrong below an if with wrapped condition followed by
curly braces. (Trevor Powell)
Solution: Make a copy of tryposBrace.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 06 Aug 2014 17:44:14 +0200 |
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')