Skip to content

Commit

Permalink
Fix #match? predicates in julia queries (#10793)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iorvethe authored May 19, 2024
1 parent 951b454 commit bd9cfbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/queries/julia/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd9cfbb

Please sign in to comment.