Tweak SCREAMING_SNAKE_CASE regexes in highlight queries
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
(shorthand_property_identifier)
|
||||
(shorthand_property_identifier_pattern)
|
||||
] @constant
|
||||
(#match? @constant "^[A-Z_][A-Z\\d_]+$"))
|
||||
(#match? @constant "^_*[A-Z_][A-Z\\d_]*$"))
|
||||
|
||||
; Literals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user