Mercurial > vim
view src/testdir/test_eval_func.vim @ 15286:d2a162896a2a v8.1.0651
patch 8.1.0651: :args "foo works like :args without argument
commit https://github.com/vim/vim/commit/2ac372ccee1af6f9fa105bf2648d5e4efa554236
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 28 19:06:47 2018 +0100
patch 8.1.0651: :args \"foo works like :args without argument
Problem: :args \"foo works like :args without argument.
Solution: Fix check for empty argument. (closes https://github.com/vim/vim/issues/3728)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Dec 2018 19:15: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')