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"