add support for genshi and mako

This commit is contained in:
Martin Grenfell
2008-11-13 22:37:02 +13:00
parent 44b4c26b86
commit ca94c70dba
2 changed files with 6 additions and 0 deletions

View File

@@ -341,6 +341,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('--', '')
elseif a:filetype == "geek"
call s:MapDelimiters('GEEK_COMMENT:', '')
elseif a:filetype == "genshi"
call s:MapDelimitersWithAlternative('<!--','-->', '{#', '#}')
elseif a:filetype == "gentoo-conf-d"
call s:MapDelimiters('#', '')
elseif a:filetype == "gentoo-env-d"
@@ -489,6 +491,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#','')
elseif a:filetype == "make"
call s:MapDelimiters('#','')
elseif a:filetype == "mako"
call s:MapDelimiters('##', '')
elseif a:filetype == "man"
call s:MapDelimiters('."', '')
elseif a:filetype == "map"