From ee7aafb135ab9080bc049f133a8c8bff74bf773e Mon Sep 17 00:00:00 2001 From: marty Date: Tue, 24 Nov 2009 21:34:41 +1300 Subject: [PATCH] bugfix: paths were incorrectly escaped in win32 for :e and :cd --- plugin/NERD_tree.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index d517fdd..2e487ca 100644 --- a/plugin/NERD_tree.vim +++ b/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