From 129424daeacd5a8a80550112dafa243883f84c7a Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Tue, 21 Feb 2017 21:26:05 +0100 Subject: [PATCH] improved haskell comment regex --- rc/base/haskell.kak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc/base/haskell.kak b/rc/base/haskell.kak index 9f34c617..6a16aa14 100644 --- a/rc/base/haskell.kak +++ b/rc/base/haskell.kak @@ -12,10 +12,10 @@ hook global BufCreate .*[.](hs) %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter -group / regions -default code haskell \ - string '"' (?]) $ '' \ + comment \{- -\} \{- \ + macro ^\h*?\K# (?