Mercurial > vim
view src/testdir/test102.in @ 8347:90c335803912
Added tag v7.4.1465 for changeset 8fa75a4c39bd57e5c122e9c80f5b0733bdadc4d3
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 29 Feb 2016 23:00:04 +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