From 8bd8a8dfcb209373a4086da98330ee3e0f07f6c1 Mon Sep 17 00:00:00 2001 From: Mark Parncutt Date: Fri, 9 Mar 2012 18:39:40 -0800 Subject: [PATCH] Added support for Haskell comments --- lib/rocco/comment_styles.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/rocco/comment_styles.rb b/lib/rocco/comment_styles.rb index 8aac0bd..5b71a5a 100644 --- a/lib/rocco/comment_styles.rb +++ b/lib/rocco/comment_styles.rb @@ -51,6 +51,11 @@ module CommentStyles :multi => { :start => '' }, :heredoc => nil }, + "haskell" => { + :single => "--", + :multi => { :start => '{-', :middle => nil, :end => '-}' }, + :heredoc => nil + }, } end end