Tweak SCREAMING_SNAKE_CASE regexes in highlight queries
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
(type_identifier) @type
|
||||
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z][A-Z\\d_]*$"))
|
||||
(#match? @constant "^_*[A-Z][A-Z\\d_]*$"))
|
||||
|
||||
(field_identifier) @property
|
||||
(statement_identifier) @label
|
||||
|
||||
Reference in New Issue
Block a user