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

pull/11197/head
Iorvethe 6 months ago committed by GitHub
parent 951b454a33
commit bd9cfbb61d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save