From d5fed4daffa50305160d0b6afab250cfa5c1d26d Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Tue, 25 Oct 2011 10:02:03 -0700 Subject: [PATCH] Adds support for literate Haskell. Since literate code has anti-comments this might be a hack, but it works well enough. :) --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 589dfe2..b6fc27b 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -211,6 +211,7 @@ let s:delimiterMap = { \ 'lace': { 'left': '--' }, \ 'ldif': { 'left': '#' }, \ 'less': { 'left': '/*','right': '*/' }, + \ 'lhaskell': { 'left': '>{-','right': '-}', 'leftAlt': '>-- ' }, \ 'lilo': { 'left': '#' }, \ 'lilypond': { 'left': '%' }, \ 'liquid': { 'left': '{% comment %}', 'right': '{% endcomment %}' },