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. udevrules. Thanks to Thilo Six.
- match filetypes case insensitively - match filetypes case insensitively
- add support for mp (metapost), thanks to Andrey Skvortsov. - add support for mp (metapost), thanks to Andrey Skvortsov.
- add support for htmlcheetah, thanks to Simon Hengel.
2.2.1 2.2.1
- add support for newlisp and clojure, thanks to Matthew Lee Hinman. - 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, Thilo Six dhcpd, limits, ntp, resolv, rgb, sysctl,
udevconf, udevrules udevconf, udevrules
Andrey Skvortsov mp Andrey Skvortsov mp
Simon Hengel htmlcheetah
============================================================================== ==============================================================================
9. License *NERDComLicense* 9. License *NERDComLicense*

View File

@@ -403,6 +403,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype ==? "html" elseif a:filetype ==? "html"
call s:MapDelimitersWithAlternative('<!--','-->', '//', '') call s:MapDelimitersWithAlternative('<!--','-->', '//', '')
elseif a:filetype ==? "htmlcheetah"
call s:MapDelimiters('##','')
elseif a:filetype ==? "htmldjango" elseif a:filetype ==? "htmldjango"
call s:MapDelimitersWithAlternative('<!--','-->', '{#', '#}') call s:MapDelimitersWithAlternative('<!--','-->', '{#', '#}')
elseif a:filetype ==? "htmlos" elseif a:filetype ==? "htmlos"