mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Fix python highlights to support single character and alphanumeric constant identifier (#6751)
This commit is contained in:
parent
5ec41195a0
commit
bb27542199
@ -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 New Issue
Block a user