From e92b6f60d52d772c8bab084860d4bdf148645e4b Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 15 May 2008 09:17:51 +1200 Subject: [PATCH] add support for tar --- 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 9c8663c..91c666a 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 + - added support for gitconfig,tar 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 375d5e5..77918ce 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -766,6 +766,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters(';', '') elseif a:filetype == "tak" call s:MapDelimiters('$', '') + elseif a:filetype == "tar" + call s:MapDelimiters('', '') elseif a:filetype == "tasm" call s:MapDelimiters(';', '') elseif a:filetype == "tcl"