diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index c9c7e5c..3983811 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -1231,4 +1231,4 @@ Li Jin gentoo-env-d, gentoo-init-d, gentoo-make-conf, grub, modconf, sudoers SpookeyPeanut rib Greg Jandl pyrex/cython -Christophe Benz services +Christophe Benz services, gitcommit diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index ea5667c..d94e363 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -358,6 +358,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype == 'gitAnnotate' call s:MapDelimiters('', '') + elseif a:filetype == 'gitcommit' + call s:MapDelimiters('', '') elseif a:filetype == 'gitdiff' call s:MapDelimiters('', '') elseif a:filetype == "gnuplot"