Skip to content
Browse files

bugfix: paths were incorrectly escaped in win32 for :e and :cd

  • Loading branch information...
1 parent b047d7f commit ee7aafb135ab9080bc049f133a8c8bff74bf773e @scrooloose scrooloose committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 plugin/NERD_tree.vim
View
6 plugin/NERD_tree.vim
@@ -139,7 +139,11 @@ call s:initVariable("g:NERDTreeMapUpdir", "u")
call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U")
"SECTION: Script level variable declaration{{{2
-let s:escape_chars = " \\`\|\"#%&,?()\*^<>"
+if s:running_windows
+ let s:escape_chars = " `\|\"#%&,?()\*^<>"
+else
+ let s:escape_chars = " \\`\|\"#%&,?()\*^<>"
+endif
let s:NERDTreeBufName = 'NERD_tree_'
let s:tree_wid = 2

0 comments on commit ee7aafb

Please sign in to comment.
Something went wrong with that request. Please try again.