bugfix: escape filenames for ":edit"ing

This commit is contained in:
marty
2009-10-10 12:30:28 +13:00
parent 94e085f1a2
commit 08bc9870bc

View File

@@ -2268,6 +2268,8 @@ function! s:Path._strForEdit()
let cwd = tolower(getcwd())
endif
let p = escape(p, s:escape_chars)
let cwd = cwd . s:Path.Slash()
"return a relative path if we can