Fix #match? predicates in julia queries (#10793)

This commit is contained in:
Iorvethe 2024-05-19 11:29:53 +02:00 committed by GitHub
parent 951b454a33
commit bd9cfbb61d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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