mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
fix path escaping for Path._strForCd()
This commit is contained in:
@@ -2250,11 +2250,7 @@ endfunction
|
|||||||
"
|
"
|
||||||
" returns a string that can be used with :cd
|
" returns a string that can be used with :cd
|
||||||
function! s:Path._strForCd()
|
function! s:Path._strForCd()
|
||||||
if s:running_windows
|
return escape(self.str(), s:escape_chars)
|
||||||
return self.str()
|
|
||||||
else
|
|
||||||
return self.str({'escape': 1})
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
"FUNCTION: Path._strForEdit() {{{3
|
"FUNCTION: Path._strForEdit() {{{3
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user