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

@@ -809,6 +809,7 @@ if your face looked like a toaster and a t-rex put together? :(
- add support for CVScommit - add support for CVScommit
- add support for asciidoc, git and gitrebase. Thanks to Simon Ruderich. - add support for asciidoc, git and gitrebase. Thanks to Simon Ruderich.
- use # for gitcommit comments, thanks to Simon Ruderich. - use # for gitcommit comments, thanks to Simon Ruderich.
- add support for mako and genshi, thanks to Keitheis.
2.2.0 2.2.0
- rewrote the mappings system to be more "standard". - rewrote the mappings system to be more "standard".
@@ -1045,6 +1046,7 @@ Elias Pipping automake
Edwin Benavides actionscript, processing Edwin Benavides actionscript, processing
Thomas Rowe hostsaccess Thomas Rowe hostsaccess
Simon Ruderich asciidoc, git, gitcommit, gitrebase Simon Ruderich asciidoc, git, gitcommit, gitrebase
Keitheis mako, genshi
============================================================================== ==============================================================================
9. License *NERDComLicense* 9. License *NERDComLicense*

View File

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