make it handle dirs of the form '[foo]baz' properly in *nix

previously such dirs always appeared to be empty
This commit is contained in:
Martin Grenfell 2011-02-14 10:20:15 +13:00
parent 721ad3ecc2
commit 2504666a72

View File

@ -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_'