From 518963c4bddf40f35cd201fce14cecbb51857e01 Mon Sep 17 00:00:00 2001 From: astaugaard <64783657+astaugaard@users.noreply.github.com> Date: Wed, 15 Jun 2022 18:19:22 -0400 Subject: [PATCH 1/2] fix haskell syntax highlighting with comments --- 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 c3711a3f..92a8b5a3 100644 --- a/rc/filetype/haskell.kak +++ b/rc/filetype/haskell.kak @@ -39,7 +39,7 @@ add-highlighter shared/haskell/string region (??@\\\^|~=]|$) $ fill comment +add-highlighter shared/haskell/line_comment region --(?![!#$%&*+./<>?@\\\^|~=]) $ fill comment add-highlighter shared/haskell/quasiquote region \[\b[_a-z]['\w]*#?\| \|\] regex \[\b[_a-z]['\w]*#?\|(.*?)\|\] 1:string add-highlighter shared/haskell/code/ regex (?