From 8d598de022315b4e3fe4f2ce4b0f9aed17320a46 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Tue, 15 Nov 2022 18:56:25 +0200 Subject: [PATCH] highlights(ocaml): use more specific groups --- queries/ocaml/highlights.scm | 15 ++++++++++----- 1 file 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