Fix python highlights to support single character and alphanumeric constant identifier (#6751)

pull/1905/head
Farzin 2 years ago committed by GitHub
parent 5ec41195a0
commit bb27542199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,7 +94,7 @@
; Variables ; Variables
((identifier) @constant ((identifier) @constant
(#match? @constant "^[A-Z_]{2,}$")) (#match? @constant "^_*[A-Z][A-Z\\d_]*$"))
((identifier) @type ((identifier) @type
(#match? @type "^[A-Z]")) (#match? @type "^[A-Z]"))

Loading…
Cancel
Save