Mercurial > vim
view src/testdir/test102.in @ 6197:4176c48c7dd5 v7.4.434
updated for version 7.4.434
Problem: gettabvar() is not consistent with getwinvar() and getbufvar().
Solution: Return a dict with all variables when the varname is empty.
(Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 09 Sep 2014 16:13:08 +0200 |
parents | 6f88e2dafbf6 |
children |
line wrap: on
line source
Test if fnameescape is correct for special chars like ! STARTTEST :so small.vim :%d :let fname = 'Xspa ce' :try | exe "w! " . fnameescape(fname) | put='Space' | endtry :let fname = 'Xemark!' :try | exe "w! " . fnameescape(fname) | put='ExclamationMark' | endtry :w! test.out :qa! ENDTEST