aboutsummaryrefslogtreecommitdiffstats
path: root/queries/purescript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/purescript/highlights.scm')
-rw-r--r--queries/purescript/highlights.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/queries/purescript/highlights.scm b/queries/purescript/highlights.scm
index ae9e930ca..5f07e9b48 100644
--- a/queries/purescript/highlights.scm
+++ b/queries/purescript/highlights.scm
@@ -90,13 +90,10 @@
(where)
"let"
"in"
- "class"
"instance"
"derive"
"foreign"
"data"
- "newtype"
- "type"
"as"
"hiding"
"do"
@@ -108,6 +105,12 @@
"infixr"
] @keyword
+[
+ "type"
+ "newtype"
+ "class"
+] @keyword.type
+
(class_instance
"else" @keyword)