add support for htmlcheetah

This commit is contained in:
Martin Grenfell 2008-12-07 13:02:58 +13:00
parent 95c368779b
commit a287b40a67
2 changed files with 4 additions and 0 deletions

View File

@ -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*

View File

@ -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"