bugfix for haskell delimiters

This commit is contained in:
Martin Grenfell 2008-09-09 22:37:43 +12:00
parent 53558869a9
commit d3718d9d21
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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"