[vim] Escape % # \

This commit is contained in:
Junegunn Choi 2015-05-13 23:20:10 +09:00
parent f41de932d6
commit 7f59b42b05

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