mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-02-01 05:27:16 +08:00
bugfix for haskell delimiters
This commit is contained in:
parent
53558869a9
commit
d3718d9d21
|
@ -1220,6 +1220,8 @@ incompatibility with vim7.2. Thanks also to JaGoTerr for posting the issue.
|
||||||
|
|
||||||
Thanks to Elias Pipping for sending me a bug report about haskell commenting.
|
Thanks to Elias Pipping for sending me a bug report about haskell commenting.
|
||||||
|
|
||||||
|
Thanks to mntnoe for pointing out incorrect delimiters for haskell.
|
||||||
|
|
||||||
Not to forget! Thanks to the following people for sending me new filetypes to
|
Not to forget! Thanks to the following people for sending me new filetypes to
|
||||||
support :D
|
support :D
|
||||||
|
|
||||||
|
|
|
@ -379,7 +379,7 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||||
elseif a:filetype == "gtkrc"
|
elseif a:filetype == "gtkrc"
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "haskell"
|
elseif a:filetype == "haskell"
|
||||||
call s:MapDelimitersWithAlternative('{-','-}', '--', '--')
|
call s:MapDelimitersWithAlternative('{-','-}', '--', '')
|
||||||
elseif a:filetype == "hb"
|
elseif a:filetype == "hb"
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "h"
|
elseif a:filetype == "h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user