The Wayback Machine - https://web.archive.org/web/20201025202650/https://github.com/redhat-developer/yaml-language-server/issues/338
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic Tokens support #338

Open
eeshugerman opened this issue Oct 15, 2020 · 0 comments
Open

Semantic Tokens support #338

eeshugerman opened this issue Oct 15, 2020 · 0 comments
Labels

Comments

@eeshugerman
Copy link

@eeshugerman eeshugerman commented Oct 15, 2020

Is your enhancement related to a problem? Please describe.

Yes, but it's a problem specific to Emacs: the YAML syntax highlighting provided by yaml-mode is buggy because, in the author's words, "YAML ... is complex to parse, and this mode doesn't even really try".

Describe the solution you would like

I'd greatly appreciate it if yaml-language-server supported Semantic Tokens. Emacs' lsp-mode supports Semantic Tokens as of v7.0, so, if I'm not mistaken, if yaml-language-server added support, then proper YAML syntax highlighting in Emacs could be a reality.

Describe alternatives you have considered

An alternative would be to write a new Emacs mode that actually parses YAML. If I wanted to learn elisp in depth I'd consider taking a stab at this, but I don't, and I'd be reinventing the wheel anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.