blob: 33b401948f874869749003f3ab62deb69d8fa7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|