view src/testdir/test102.in @ 5481:31217cc48e7d v7.4.090

updated for version 7.4.090 Problem: Win32: When a directory name contains an exclamation mark, completion doesn't complete the contents of the directory. Solution: Escape the exclamation mark. (Jan Stocker)
author Bram Moolenaar <bram@vim.org>
date Tue, 12 Nov 2013 05:28:26 +0100
parents
children 6f88e2dafbf6
line wrap: on
line source

Test if fnameescape is correct for special chars like !

STARTTEST
:%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