mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Merge cd7a85f770 into 09165c15dc
This commit is contained in:
commit
18d4eda59b
1 changed files with 4 additions and 0 deletions
|
|
@ -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_]*$"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue