Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--runtime/queries/ocaml/highlights.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/queries/ocaml/highlights.scm b/runtime/queries/ocaml/highlights.scm
index 5e2a576f..4be4bb94 100644
--- a/runtime/queries/ocaml/highlights.scm
+++ b/runtime/queries/ocaml/highlights.scm
@@ -37,6 +37,13 @@
[(constructor_name) (tag)] @constructor
+; Variables
+;----------
+
+[(value_name) (type_variable)] @variable
+
+(value_pattern) @variable.parameter
+
; Functions
;----------
@@ -75,13 +82,6 @@
(application_expression
function: (value_path (value_name) @function))
-; Variables
-;----------
-
-[(value_name) (type_variable)] @variable
-
-(value_pattern) @variable.parameter
-
; Properties
;-----------