From f40064b8d6c07fc7bbee9727a9453926041379fd Mon Sep 17 00:00:00 2001 From: Evan Relf Date: Mon, 18 Nov 2019 00:14:02 -0800 Subject: [PATCH] Add forall unicode character as Haskell keyword --- 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 5e60d39b..d51a4c45 100644 --- a/rc/filetype/haskell.kak +++ b/rc/filetype/haskell.kak @@ -76,7 +76,7 @@ add-highlighter shared/haskell/code/ regex (?|:!?/.@$*&#%+\^\-\\])[~<=>|: add-highlighter shared/haskell/code/ regex (?|:!?/.@$*&#%+\^\-\\])(@|~|<-|->|=>|::|=|:|[|])(?![~<=>|:!?/.@$*&#%+\^\-\\]) 1:keyword # matches: forall [..variables..] . # not the variables -add-highlighter shared/haskell/code/ regex \b(forall)\b[^.\n]*?(\.) 1:keyword 2:keyword +add-highlighter shared/haskell/code/ regex \b(forall|∀)\b[^.\n]*?(\.) 1:keyword 2:keyword # matches 'x' '\\' '\'' '\n' '\0' # not incomplete literals: '\'