diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 91c666a..269f1a1 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -861,7 +861,7 @@ to get illegal syntax when uncommenting them. 8. Changelog *NERDComChangelog* 2.1.14 - - added support for gitconfig,tar + - added support for gitconfig, tar, nerdtree 2.1.13 - added support for rib, pyrex/cython, liquid, services, gitcommit, vimperator, and slice. Thanks to spookypeanut, Greg Jandl, Christophe diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 77918ce..f28c977 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -528,6 +528,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('/*', '') elseif a:filetype == "ncf" call s:MapDelimiters(';', '') + elseif a:filetype == "nerdtree" + call s:MapDelimiters('', '') elseif a:filetype == "netdict" call s:MapDelimiters('', '') elseif a:filetype == "netrw"