diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 66296b2..326736f 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -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 mntnoe for pointing out incorrect delimiters for haskell. + Not to forget! Thanks to the following people for sending me new filetypes to support :D diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 1760f84..41a3203 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -379,7 +379,7 @@ function s:SetUpForNewFiletype(filetype, forceReset) elseif a:filetype == "gtkrc" call s:MapDelimiters('#', '') elseif a:filetype == "haskell" - call s:MapDelimitersWithAlternative('{-','-}', '--', '--') + call s:MapDelimitersWithAlternative('{-','-}', '--', '') elseif a:filetype == "hb" call s:MapDelimiters('#', '') elseif a:filetype == "h"