mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-13 12:13:47 -05:00
make haml comments own more
This commit is contained in:
@@ -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".
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user