tht13 / Python-vscode

A Python language pack for Visual Studio Code
MIT License
17 stars 11 forks source link

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

Open reporter123 opened 3 years ago

reporter123 commented 3 years ago

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.

ikariwing commented 2 years ago

+1 thanks for this extension anyway :)