Don't highlight Python import names as type (#17984)
Works on #14892 Follow up to #17473
This commit is contained in:
parent
a36706aed6
commit
bc751d6c19
1 changed files with 0 additions and 18 deletions
|
@ -2,24 +2,6 @@
|
||||||
(attribute attribute: (identifier) @property)
|
(attribute attribute: (identifier) @property)
|
||||||
(type (identifier) @type)
|
(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
|
; Function calls
|
||||||
|
|
||||||
(decorator) @function
|
(decorator) @function
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue