[vim] Escape % # \

This commit is contained in:
Junegunn Choi committed 2015-05-13 23:20:10 +09:00
1 parent f41de932d6
commit 7f59b42b05
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ function! s:shellesc(arg)
endfunction
function! s:escape(path)
return substitute(a:path, ' ', '\\ ', 'g')
return escape(a:path, ' %#\')
endfunction
" Upgrade legacy options