This commit is contained in:
Alex Lachance 2026-05-30 22:56:01 -04:00 committed by GitHub
commit 18d4eda59b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,10 @@
(attribute
attribute: (identifier) @property)
; Dunder variables
((identifier) @variable.special
(#match? @variable.special "^__[a-zA-Z0-9_]+__$"))
; CamelCase for classes
((identifier) @type.class
(#match? @type.class "^_*[A-Z][A-Za-z0-9_]*$"))