mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
fix(python): don't highlight parameter name as builtin (#7732)
This commit is contained in:
parent
178a68b7ff
commit
683816f147
3 changed files with 77 additions and 65 deletions
|
|
@ -8,6 +8,11 @@ _ = func()
|
|||
|
||||
class Foo:
|
||||
def method(self) -> None: ...
|
||||
# ^^^^ @variable.builtin
|
||||
|
||||
@classmethod
|
||||
def clsmethod(cls) -> None: ...
|
||||
# ^^^ @variable.builtin
|
||||
|
||||
Foo().method()
|
||||
# ^^^^^^ @function.method.call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue