Mercurial > vim
view src/testdir/test102.in @ 7761:db5864658024 v7.4.1178
commit https://github.com/vim/vim/commit/767d8c1a1ae762ecf47297c168b8c23caf05d30a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 25 20:22:54 2016 +0100
patch 7.4.1178
Problem: empty() doesn't work for the new special variables.
Solution: Make empty() work. (Damien)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 25 Jan 2016 20:30:05 +0100 |
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