We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7854c78 + d32c750 commit 71e5a23Copy full SHA for 71e5a23
tests/haskell-font-lock-tests.el
@@ -554,3 +554,11 @@ if all of its characters have syntax and face. See
554
("code3" t haskell-definition-face)
555
("Comment3" t haskell-literate-comment-face))
556
'literate))
557
+
558
+(ert-deftest haskell-type-role ()
559
+ "fontify \"role\" after \"type\""
560
+ (check-properties
561
+ '("type role Ptr representational")
562
+ '(("type" "w" haskell-keyword-face)
563
+ ("role" "w" haskell-keyword-face)
564
+ ("Ptr" "w" haskell-constructor-face))))
0 commit comments