aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/ocaml
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-06 05:33:02 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commitd85a8adb2747e25589de82d821cd0c4e2dd244f5 (patch)
treeaa05a937516d281cad7d1ae7b9fe40408e177376 /runtime/queries/ocaml
parentbe81f40df8c901f506708a2ce4ff10632fa1d64c (diff)
Improve highlighting scopes
Diffstat (limited to 'runtime/queries/ocaml')
-rw-r--r--runtime/queries/ocaml/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/ocaml/highlights.scm b/runtime/queries/ocaml/highlights.scm
index 3bb42604..5554574d 100644
--- a/runtime/queries/ocaml/highlights.scm
+++ b/runtime/queries/ocaml/highlights.scm
@@ -60,7 +60,7 @@
[(number) (signed_number)] @number
-(character) @character
+(character) @constant.builtin.character
(string) @string
@@ -92,7 +92,7 @@
["include" "open"] @include
-["for" "to" "downto" "while" "do" "done"] @keyword.control.loop
+["for" "to" "downto" "while" "do" "done"] @keyword.control.repeat
; Macros
;-------