diff --git a/syntaxes/haskell.tmLanguage b/syntaxes/haskell.tmLanguage index 76d12d4..9c5cc33 100644 --- a/syntaxes/haskell.tmLanguage +++ b/syntaxes/haskell.tmLanguage @@ -513,7 +513,7 @@ ) (?:\s*,\s*\g<fn>)? ) - \s*(::) + \s*(::|∷) beginCaptures 2 @@ -565,7 +565,7 @@ begin - (::) + (::|∷) beginCaptures 1 @@ -856,7 +856,7 @@ match - \(\s*([\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\s+([\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\)\s*(=>) + \(\s*([\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\s+([\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\)\s*(=>|⇒) captures 1 @@ -884,19 +884,19 @@ match - -> + ->|→ name keyword.other.arrow.haskell match - \b(forall)(\b(?!')) + \b(forall|∀)(\b(?!')) name keyword.other.forall.haskell match - => + =>|⇒ name keyword.other.big-arrow.haskell