From bd9cfbb61d1ad3ce8ad144ad9e6d04cfc1fad473 Mon Sep 17 00:00:00 2001 From: Iorvethe <58810330+Iorvethe@users.noreply.github.com> Date: Sun, 19 May 2024 11:29:53 +0200 Subject: [PATCH] Fix `#match?` predicates in julia queries (#10793) --- runtime/queries/julia/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/queries/julia/highlights.scm b/runtime/queries/julia/highlights.scm index 805310fdd..7072640ff 100644 --- a/runtime/queries/julia/highlights.scm +++ b/runtime/queries/julia/highlights.scm @@ -7,12 +7,12 @@ ; Remaining identifiers that start with capital letters should be types (PascalCase) ( (identifier) @type - (match? @type "^[A-Z]")) + (#match? @type "^[A-Z]")) ; SCREAMING_SNAKE_CASE ( (identifier) @constant - (match? @constant "^[A-Z][A-Z0-9_]*$")) + (#match? @constant "^[A-Z][A-Z0-9_]*$")) (const_statement (assignment