From 2504666a723c56be9aaa3980dd2ee608fe2a631f Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Mon, 14 Feb 2011 10:20:15 +1300 Subject: [PATCH] make it handle dirs of the form '[foo]baz' properly in *nix previously such dirs always appeared to be empty --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 0dfc36f..1d481ac 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -142,7 +142,7 @@ call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U") if s:running_windows let s:escape_chars = " `\|\"#%&,?()\*^<>" else - let s:escape_chars = " \\`\|\"#%&,?()\*^<>" + let s:escape_chars = " \\`\|\"#%&,?()\*^<>[]" endif let s:NERDTreeBufName = 'NERD_tree_'