make haml comments own more

This commit is contained in:
Martin Grenfell 2008-10-25 11:32:40 +13:00
parent 842055ae43
commit 1301323179
2 changed files with 3 additions and 1 deletions

View File

@ -801,6 +801,8 @@ if your face looked like a toaster and a t-rex put together? :(
2.x.x 2.x.x
- add support for newlisp, thanks to Matthew Lee Hinman. - add support for newlisp, thanks to Matthew Lee Hinman.
- fix automake comments, thanks to Elias Pipping - fix automake comments, thanks to Elias Pipping
- make haml comments default to -# with / as the alternative delimiter,
thanks to tpope
2.2.0 2.2.0
- rewrote the mappings system to be more "standard". - rewrote the mappings system to be more "standard".

View File

@ -374,7 +374,7 @@ function s:SetUpForNewFiletype(filetype, forceReset)
elseif a:filetype == "h" elseif a:filetype == "h"
call s:MapDelimitersWithAlternative('//','', '/*','*/') call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "haml" elseif a:filetype == "haml"
call s:MapDelimiters('/', '') call s:MapDelimitersWithAlternative('-#', '', '/', '')
elseif a:filetype == "help" elseif a:filetype == "help"
call s:MapDelimiters('"','') call s:MapDelimiters('"','')
elseif a:filetype == "hercules" elseif a:filetype == "hercules"