Skip to content

Commit

Permalink
make it handle dirs of the form '[foo]baz' properly in *nix
Browse files Browse the repository at this point in the history
previously such dirs always appeared to be empty
  • Loading branch information
scrooloose committed Feb 13, 2011
1 parent 721ad3e commit 2504666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/NERD_tree.vim
Expand Up @@ -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_'

Expand Down

0 comments on commit 2504666

Please sign in to comment.