From 77ec8b70a8384afe7235fa80d4d4ffc411b2cf0c Mon Sep 17 00:00:00 2001 From: Evan Relf Date: Thu, 12 Dec 2019 16:00:50 -0800 Subject: [PATCH] Fix Haskell multi-line quasiquoter highlighting --- rc/filetype/haskell.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/haskell.kak b/rc/filetype/haskell.kak index 4315d37e..7d15014a 100644 --- a/rc/filetype/haskell.kak +++ b/rc/filetype/haskell.kak @@ -39,7 +39,7 @@ add-highlighter shared/haskell/macro region ^\h*?\K# add-highlighter shared/haskell/pragma region -recurse \{- \{-# '#-\}' fill meta add-highlighter shared/haskell/comment region -recurse \{- \{- -\} fill comment add-highlighter shared/haskell/line_comment region --(?:[^!#$%&*+./<>?@\\\^|~=]|$) $ fill comment -add-highlighter shared/haskell/quasiquote region \[\b[_a-z]['\w]*#?\| \|\] fill string +add-highlighter shared/haskell/quasiquote region \[\b[_a-z]['\w]*#?\| \|\] regex \[\b[_a-z]['\w]*#?\|(.*?)\|\] 1:string add-highlighter shared/haskell/code/ regex (?