From f772cfdefb30f81ed5e82a81e0b6c0b97b7e09b3 Mon Sep 17 00:00:00 2001 From: marty Date: Sun, 13 Sep 2009 14:05:28 +1200 Subject: [PATCH] fix path escaping for Path._strForCd() --- plugin/NERD_tree.vim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 1135c65..1b05cbd 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -2250,11 +2250,7 @@ endfunction " " returns a string that can be used with :cd function! s:Path._strForCd() - if s:running_windows - return self.str() - else - return self.str({'escape': 1}) - endif + return escape(self.str(), s:escape_chars) endfunction "FUNCTION: Path._strForEdit() {{{3 "