Skip to content

Python keyword not not highlighted when scoped as source.python #6

@Techtodas

Description

@Techtodas

Hi Forrest,

In Python files, the logical keyword not appears uncolored (white).

Using "Developer: Inspect Editor Tokens and Scopes" on not, I get:

  • language: python
  • standard token type: Other
  • textmate scopes: source.python
  • foreground: No theme selector
Image

Other themes still color not under this scope, but this theme does not,
so not blends into normal text.

Screenshot attached showing the token inspection.

This seems to need a fallback tokenColor rule for source.python
to cover Python logical operators when they aren't classified
as keyword.operator.logical.python.

Thanks for the theme!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions