view src/testdir/test102.in @ 6438:1fd9f1d43660 v7.4.549

updated for version 7.4.549 Problem: Function name not recognized correctly when inside a function. Solution: Don't check for an alpha character.
author Bram Moolenaar <bram@vim.org>
date Sat, 13 Dec 2014 21:00:55 +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