From 683816f14718b257666b29f792a8d330936cf5c1 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Thu, 13 Mar 2025 09:21:55 +0100 Subject: fix(python): don't highlight parameter name as builtin (#7732) --- tests/query/highlights/python/functions.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/query/highlights/python/functions.py') diff --git a/tests/query/highlights/python/functions.py b/tests/query/highlights/python/functions.py index 6d3028433..7284d3fcc 100644 --- a/tests/query/highlights/python/functions.py +++ b/tests/query/highlights/python/functions.py @@ -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 -- cgit v1.2.3-70-g09d2