summaryrefslogtreecommitdiff
path: root/queries/ocaml
diff options
context:
space:
mode:
authorPau Ruiz Safont <unduthegun@gmail.com>2021-02-27 19:25:03 +0000
committerStephan Seitz <stephan.lauf@yahoo.de>2021-02-28 22:32:07 +0100
commit633b42b2a2552da3134dda84c8099d00cde915d2 (patch)
tree91da7d5ac2bf08402a03800b72712d90264e0841 /queries/ocaml
parent1bbcd2fbc298b77f9c8769a8e5d928c5376435f2 (diff)
highlights(ocaml): add unit and pretty_printing_indication
Diffstat (limited to 'queries/ocaml')
-rw-r--r--queries/ocaml/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/ocaml/highlights.scm b/queries/ocaml/highlights.scm
index 3d43aabf..7ae9194c 100644
--- a/queries/ocaml/highlights.scm
+++ b/queries/ocaml/highlights.scm
@@ -68,7 +68,7 @@
; Constants
;----------
-(boolean) @constant
+[(boolean) (unit)] @constant
[(number) (signed_number)] @number
@@ -80,7 +80,10 @@
(escape_sequence) @string.escape
-(conversion_specification) @punctuation.special
+[
+ (conversion_specification)
+ (pretty_printing_indication)
+] @punctuation.special
; Operators
;----------