From c29989f5d735a30b6d2350b54d5cd50be811f8b2 Mon Sep 17 00:00:00 2001 From: Sarath Addanki <1752644+asknet@users.noreply.github.com> Date: Mon, 17 Jun 2024 10:29:06 -0400 Subject: [PATCH] apex: highlights: change the constant variable order to recognize it (#6779) --- queries/apex/highlights.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/queries/apex/highlights.scm b/queries/apex/highlights.scm index 85453b227..15b016552 100644 --- a/queries/apex/highlights.scm +++ b/queries/apex/highlights.scm @@ -152,6 +152,9 @@ field: (identifier) @variable.member) ; Variables +(variable_declarator + (identifier) @property) + (field_declaration (modifiers (modifier @@ -167,9 +170,6 @@ (variable_declarator name: (identifier) @constant)) -(variable_declarator - (identifier) @property) - ((identifier) @constant (#lua-match? @constant "^[A-Z][A-Z0-9_]+$")) ; SCREAM SNAKE CASE