DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
https://docs.basedpyright.com
Other
1.2k stars 22 forks source link

figure out how to make `type` keyword blue #147

Open DetachHead opened 8 months ago

DetachHead commented 8 months ago

image image

currently it's purple (SemanticTokenTypes.keyword) but i think the type keyword is more similar to the blue keywords than the purple ones.

though i have no idea what the distinction is supposed to be. there are cases where the same keyword is highlighted blue or purple for seemingly no reason (#148)

DetachHead commented 6 months ago

gonna wait and see what the response is to https://github.com/microsoft/pylance-release/issues/5824 before investing any more effort into things that should be handled by the syntax highlighter