From 3eea85daa40dae9a45dc192e590417534838bb01 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 13 May 2008 10:51:56 +1200 Subject: [PATCH] add support for gitconfig --- doc/NERD_commenter.txt | 2 ++ plugin/NERD_commenter.vim | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 9d80fba..9c8663c 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -860,6 +860,8 @@ to get illegal syntax when uncommenting them. ============================================================================== 8. Changelog *NERDComChangelog* +2.1.14 + - added support for gitconfig 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 c915d35..375d5e5 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -360,6 +360,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('', '') elseif a:filetype == 'gitcommit' call s:MapDelimiters('', '') + elseif a:filetype == 'gitconfig' + call s:MapDelimiters(';', '') elseif a:filetype == 'gitdiff' call s:MapDelimiters('', '') elseif a:filetype == "gnuplot"