Skip to content

Python syntax highlighting breaks on function annotations #51

@aeschli

Description

@aeschli

screen shot 2015-12-18 at 10 13 02 pm

Specifically, it looks like function annotations in Python 3 mess it up. The first docstring should be highlighted like the second.

This is with VSCode. For tokenizing VSCode uses the tokenizer from
https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmLanguage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions