From 191bb50879d583acbf82007ada1df7565eb9fa45 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sat, 17 May 2008 14:54:44 +1200 Subject: [PATCH] add support for nerdtree --- doc/NERD_commenter.txt | 2 +- plugin/NERD_commenter.vim | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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"