Skip to content

Syntax highlighting for python functions breaks if return type hint is Specfied #80

Open

Description

@reporter123

The fallowing results in incorrect syntax highlighting:

def a()->None:
"""d"""
#f
pass

removing ->None works as expected. For myself I have found an alternate extension for my needs.

Activity

  1. ikariwing commented on Mar 23, 2022

    @ikariwing

    +1
    thanks for this extension anyway :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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