From a79979462395a1804e59b97732481b15874187a7 Mon Sep 17 00:00:00 2001 From: Julien THILLARD <54775010+supersurviveur@users.noreply.github.com> Date: Tue, 8 Apr 2025 02:16:31 +0200 Subject: [PATCH] Change highlights order (#13293) --- runtime/queries/ocaml/highlights.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/runtime/queries/ocaml/highlights.scm b/runtime/queries/ocaml/highlights.scm index 5e2a576f3..4be4bb94b 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 ;-----------