aboutsummaryrefslogtreecommitdiffstats
path: root/queries/purescript
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-04-23 12:23:15 -0700
committerChristian Clason <c.clason@uni-graz.at>2024-05-01 09:59:50 +0200
commitf58cae6c228e26681039253cb172de16cd764408 (patch)
tree5dab18e7bf7eb9fcecc99f543a7b3c6e776291d5 /queries/purescript
parentbot(lockfile): update angular, cpp, djot, html, json5, mlir, python, solidity... (diff)
downloadnvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.gz
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.bz2
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.lz
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.xz
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.zst
nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.zip
feat: more `@keyword.type` captures
Diffstat (limited to 'queries/purescript')
-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)