aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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