Tweak SCREAMING_SNAKE_CASE regexes in highlight queries
This commit is contained in:
parent
95cb9ceac9
commit
6ecf870c66
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue