nvim-treesitter/tests/query/highlights/python/functions.py

13 lines
207 B
Python

def func() -> None: ...
_ = func()
# ^^^^ @function.call
"{}".format(1)
# ^^^^^^ @function.method.call
class Foo:
def method(self) -> None: ...
Foo().method()
# ^^^^^^ @function.method.call