Open DetachHead opened 7 months ago
python 3.12 introduced new syntax for type aliases:
type Foo = int
this is currently highlighted incorrectly:
(the type keyword should be blue and the Foo name should be green)
type
Foo
related: #262
as a workaround, i've fixed this with semantic highlighting in basedpyright:
though i'm not sure how to make it blue (or if it even should be blue). https://github.com/DetachHead/basedpyright/issues/147
python 3.12 introduced new syntax for type aliases:
this is currently highlighted incorrectly:
(the
type
keyword should be blue and theFoo
name should be green)related: #262