mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Fix #match?
predicates in julia queries (#10793)
This commit is contained in:
parent
951b454a33
commit
bd9cfbb61d
@ -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…
Reference in New Issue
Block a user