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:
parent
721ad3ecc2
commit
2504666a72
@ -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_'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user