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