Skip to content

Built-in types are highlighted as support.function and not support.type if called #16

Closed
@FichteFoll

Description

@FichteFoll

2014-09-02_22 40 11

Consider the above snippets, str is once highlighted as support.type and once highlighted as support.function, as well as list. This is probably because they are actually used like a function, but in fact they are classes. The default Python syntax def does not treat these built-in type calls differently to the literal references.

Here is the same snippet with the default Python syntax:
2014-09-02_22 44 56

I prefer the default version over the current, but what do you think?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions