Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Consider adding SemanticTokensProvider #17

Open
ivucica opened this issue Dec 24, 2020 · 2 comments
Open

Consider adding SemanticTokensProvider #17

ivucica opened this issue Dec 24, 2020 · 2 comments

Comments

@ivucica
Copy link

ivucica commented Dec 24, 2020

Hello,

would you consider adding support for SemanticTokensProvider and related structures?

In @toitware fork, @jstroem added support for this. https://github.com/toitware/go-lsp/tree/semanticTokensProvider

There is still a need to define some structures by hand, and there's no enums specifying all possible values for TokenTypes and TokenModifiers in the legend, but it seems like a great start.

The biggest advantage for a hobbyist is the reduction in need to add an editor-specific syntax highlighter for a new language.

@slimsag
Copy link
Member

slimsag commented Dec 24, 2020 via email

@jstroem
Copy link

jstroem commented Jan 4, 2021

Hi @slimsag I would be happy to join as a maintainer on this. I have already a few open PR's to this repository including one on this exact issue: #14.

I can extend this PR with the missing enums for SemanticTokenType and SemanticTokenModifiers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants