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

pull/16/head
Farzin 1 year 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
((identifier) @constant
(#match? @constant "^[A-Z_]{2,}$"))
(#match? @constant "^_*[A-Z][A-Z\\d_]*$"))
((identifier) @type
(#match? @type "^[A-Z]"))

Loading…
Cancel
Save