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.
type
1 parent 9cc4a13 commit 6c0f042Copy full SHA for 6c0f042
tests/purescript-font-lock-tests.el
@@ -138,3 +138,19 @@ still comment
138
-}
139
"
140
'((1 70 font-lock-comment-face))))
141
+
142
+(ert-deftest type-with-typenames-and--> ()
143
+ (purescript-test-ranges
144
+ "type Component props = Effect (props -> JSX)"
145
+ '((1 4 font-lock-keyword-face)
146
+ (5 5 nil)
147
+ (6 14 font-lock-type-face)
148
+ (15 21 nil)
149
+ (22 22 font-lock-variable-name-face)
150
+ (23 23 nil)
151
+ (24 29 font-lock-type-face)
152
+ (30 37 nil)
153
+ (38 39 font-lock-variable-name-face)
154
+ (40 40 nil)
155
+ (41 43 font-lock-type-face)
156
+ (44 45 nil))))
0 commit comments