Fix python highlights to support single character and alphanumeric constant identifier (#6751)
This commit is contained in:
parent
5ec41195a0
commit
bb27542199
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
|||
; Variables
|
||||
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z_]{2,}$"))
|
||||
(#match? @constant "^_*[A-Z][A-Z\\d_]*$"))
|
||||
|
||||
((identifier) @type
|
||||
(#match? @type "^[A-Z]"))
|
||||
|
|
Loading…
Reference in a new issue