summaryrefslogtreecommitdiff
path: root/queries/ocaml
diff options
context:
space:
mode:
authorSergio Alejandro Vargas <savargasqu+git@unal.edu.co>2021-07-05 15:04:42 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-06 00:53:40 +0200
commit820b4a9c211a49c878ce3f19ed5c349509e7988f (patch)
treeaacc70f49ddb660c55f17cdbbe5ad46aa68db050 /queries/ocaml
parent017760113a2c1276245e414b3f4fe4fb183c7ef0 (diff)
Use `@keyword.function` consistently
Diffstat (limited to 'queries/ocaml')
-rw-r--r--queries/ocaml/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/ocaml/highlights.scm b/queries/ocaml/highlights.scm
index 292d3238..d6887cb4 100644
--- a/queries/ocaml/highlights.scm
+++ b/queries/ocaml/highlights.scm
@@ -93,12 +93,14 @@
[
"and" "as" "assert" "begin" "class" "constraint"
- "end" "external" "fun" "function" "functor" "in"
+ "end" "external" "in"
"inherit" "initializer" "lazy" "let" "match" "method" "module"
"mutable" "new" "nonrec" "object" "of" "private" "rec" "sig" "struct"
"type" "val" "virtual" "when" "with"
] @keyword
+["fun" "function" "functor"] @keyword.function
+
["if" "then" "else"] @conditional
["exception" "try"] @exception