mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -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())
|
||||
endif
|
||||
|
||||
let p = escape(p, s:escape_chars)
|
||||
|
||||
let cwd = cwd . s:Path.Slash()
|
||||
|
||||
"return a relative path if we can
|
||||
|
||||
Reference in New Issue
Block a user