From 3bccb91e7d5e62166a5005c5001a950b629d2123 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Mon, 28 Apr 2008 20:28:15 +1200 Subject: [PATCH] added support for 'services' filetype --- doc/NERD_commenter.txt | 1 + plugin/NERD_commenter.vim | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 06038a2..c9c7e5c 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -1231,3 +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 diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 9431592..ea5667c 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -674,6 +674,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype == "selectbuf" call s:MapDelimiters('', '') + elseif a:filetype == "services" + call s:MapDelimiters('#', '') elseif a:filetype == "sgml" call s:MapDelimiters('') elseif a:filetype == "sgmldecl"