expose SemanticTokensLegend
I'm not sure how to do this because there are no methods returning SemanticTokensLegend. Apparently it's supposed to be determined when first connecting to the server? I had Claude take a stab at this but it wrote some code that made start_server() hang. I don't understand python's async or multilspy's design well enough to fix it.
Spec link: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens
Oh, I did expose SemanticTokens first, that part was straightforward https://github.com/jbellis/multilspy/commit/7dd61d990b78040dc50dad5ee08d9658af29e965
Dear @jbellis, would you kindly be able to create a PR for semantic tokens feature? This would be a great add to multilspy!
You're welcome to use the code but lspy turned out to be a poor fit for my use case so I moved on.