mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
bugfix: escape filenames for ":edit"ing
This commit is contained in:
@@ -2268,6 +2268,8 @@ function! s:Path._strForEdit()
|
|||||||
let cwd = tolower(getcwd())
|
let cwd = tolower(getcwd())
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let p = escape(p, s:escape_chars)
|
||||||
|
|
||||||
let cwd = cwd . s:Path.Slash()
|
let cwd = cwd . s:Path.Slash()
|
||||||
|
|
||||||
"return a relative path if we can
|
"return a relative path if we can
|
||||||
|
|||||||
Reference in New Issue
Block a user