From a287b40a6701ef8590c16de2b507349c6a146d49 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 7 Dec 2008 13:02:58 +1300 Subject: [PATCH] add support for htmlcheetah --- 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 b57b22d..acb542a 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -803,6 +803,7 @@ if your face looked like a toaster and a t-rex put together? :( udevrules. Thanks to Thilo Six. - match filetypes case insensitively - add support for mp (metapost), thanks to Andrey Skvortsov. + - add support for htmlcheetah, thanks to Simon Hengel. 2.2.1 - add support for newlisp and clojure, thanks to Matthew Lee Hinman. @@ -1064,6 +1065,7 @@ Adam Thorsen objj Thilo Six dhcpd, limits, ntp, resolv, rgb, sysctl, udevconf, udevrules Andrey Skvortsov mp +Simon Hengel htmlcheetah ============================================================================== 9. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 0457816..ec097d2 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -403,6 +403,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype ==? "html" call s:MapDelimitersWithAlternative('', '//', '') + elseif a:filetype ==? "htmlcheetah" + call s:MapDelimiters('##','') elseif a:filetype ==? "htmldjango" call s:MapDelimitersWithAlternative('', '{#', '#}') elseif a:filetype ==? "htmlos"