Skip to content

Commit 2504666

Browse files
committed
make it handle dirs of the form '[foo]baz' properly in *nix
previously such dirs always appeared to be empty
1 parent 721ad3e commit 2504666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/NERD_tree.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ call s:initVariable("g:NERDTreeMapUpdirKeepOpen", "U")
142142
if s:running_windows
143143
let s:escape_chars = " `\|\"#%&,?()\*^<>"
144144
else
145-
let s:escape_chars = " \\`\|\"#%&,?()\*^<>"
145+
let s:escape_chars = " \\`\|\"#%&,?()\*^<>[]"
146146
endif
147147
let s:NERDTreeBufName = 'NERD_tree_'
148148

0 commit comments

Comments
 (0)