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 3156840 commit 58fce7cCopy full SHA for 58fce7c
tests/purescript-font-lock-tests.el
@@ -153,3 +153,19 @@ noncomment
153
'((1 6 font-lock-comment-face)
154
(7 10 font-lock-comment-delimiter-face)
155
(11 21 nil))))
156
+
157
+(ert-deftest type-with-typenames-and--> ()
158
+ (purescript-test-ranges
159
+ "type Component props = Effect (props -> JSX)"
160
+ '((1 4 font-lock-keyword-face)
161
+ (5 5 nil)
162
+ (6 14 font-lock-type-face)
163
+ (15 21 nil)
164
+ (22 22 font-lock-variable-name-face)
165
+ (23 23 nil)
166
+ (24 29 font-lock-type-face)
167
+ (30 37 nil)
168
+ (38 39 font-lock-variable-name-face)
169
+ (40 40 nil)
170
+ (41 43 font-lock-type-face)
171
+ (44 45 nil))))
0 commit comments