mirror of https://github.com/helix-editor/helix
Updated python/locals.scm to label `self` and `cls` as `variable.buitin` (#13552)
parent
5a1dcc2429
commit
ebf96bd469
|
@ -26,6 +26,9 @@
|
|||
(parameters
|
||||
(dictionary_splat_pattern ; **kwargs
|
||||
(identifier) @local.definition.variable.parameter))
|
||||
(parameters
|
||||
(identifier) @local.definition.variable.builtin
|
||||
(#any-of? @local.definition.variable.builtin "self" "cls")) ; label self/cls as builtin
|
||||
|
||||
(lambda_parameters
|
||||
(identifier) @local.definition.variable.parameter)
|
||||
|
|
Loading…
Reference in New Issue