Mercurial > vim
view src/testdir/test102.in @ 8030:05f57db9d8da
Added tag v7.4.1309 for changeset 770dd91ad9f7d0b2eda796b5b720e192c1ced83e
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 13 Feb 2016 14:15: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