nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit f772cfdefb30f81ed5e82a81e0b6c0b97b7e09b3
parent a1e7bc0b0181425c966208dd039252095810a12b
Author: marty <martin_grenfell@msn.com>
Date:   Sun, 13 Sep 2009 14:05:28 +1200

fix path escaping for Path._strForCd()

Diffstat:
Mplugin/NERD_tree.vim | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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
 "