Don't highlight Python import names as type (#17984)

Works on #14892

Follow up to #17473
This commit is contained in:
Boris Verkhovskiy authored and GitHub committed 2024-09-23 09:03:55 -07:00
1 parent 340f7f12a8
commit 6947558fe7
1 file changed
-18
@@ -2,24 +2,6 @@
(attribute attribute: (identifier) @property)
(type (identifier) @type)
; Module imports
(import_statement
(dotted_name (identifier) @type))
(import_statement
(aliased_import
name: (dotted_name (identifier) @type)
alias: (identifier) @type))
(import_from_statement
(dotted_name (identifier) @type))
(import_from_statement
(aliased_import
name: (dotted_name (identifier) @type)
alias: (identifier) @type))
; Function calls
(decorator) @function