mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +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)
|
; Remaining identifiers that start with capital letters should be types (PascalCase)
|
||||||
(
|
(
|
||||||
(identifier) @type
|
(identifier) @type
|
||||||
(match? @type "^[A-Z]"))
|
(#match? @type "^[A-Z]"))
|
||||||
|
|
||||||
; SCREAMING_SNAKE_CASE
|
; SCREAMING_SNAKE_CASE
|
||||||
(
|
(
|
||||||
(identifier) @constant
|
(identifier) @constant
|
||||||
(match? @constant "^[A-Z][A-Z0-9_]*$"))
|
(#match? @constant "^[A-Z][A-Z0-9_]*$"))
|
||||||
|
|
||||||
(const_statement
|
(const_statement
|
||||||
(assignment
|
(assignment
|
||||||
|
Loading…
Reference in New Issue
Block a user