aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ocaml
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-11-15 18:56:25 +0200
committerObserverOfTime <chronobserver@disroot.org>2022-11-26 13:17:51 +0200
commit8d598de022315b4e3fe4f2ce4b0f9aed17320a46 (patch)
tree99479876ecc9851c7a9cefaab02850240b3356a9 /queries/ocaml
parenthighlights(pascal): use more specific groups (diff)
downloadnvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar.gz
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar.bz2
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar.lz
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar.xz
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.tar.zst
nvim-treesitter-8d598de022315b4e3fe4f2ce4b0f9aed17320a46.zip
highlights(ocaml): use more specific groups
Diffstat (limited to 'queries/ocaml')
-rw-r--r--queries/ocaml/highlights.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/queries/ocaml/highlights.scm b/queries/ocaml/highlights.scm
index e66729314..bb8a30539 100644
--- a/queries/ocaml/highlights.scm
+++ b/queries/ocaml/highlights.scm
@@ -95,13 +95,18 @@
;---------
[
- "and" "as" "assert" "begin" "class" "constraint"
- "end" "external" "in"
- "inherit" "initializer" "lazy" "let" "match" "method" "module"
- "mutable" "new" "nonrec" "object" "of" "private" "rec" "sig" "struct"
- "type" "val" "virtual" "when" "with"
+ "and" "as" "assert" "begin" "class"
+ "constraint" "end" "external" "in"
+ "inherit" "initializer" "let" "match"
+ "method" "module" "new" "object" "of"
+ "sig" "struct" "type" "val" "when" "with"
] @keyword
+[
+ "lazy" "mutable" "nonrec"
+ "rec" "private" "virtual"
+] @type.qualifier
+
["fun" "function" "functor"] @keyword.function
["if" "then" "else"] @conditional