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

feat: add additional LSP support for YAML by adding helm-ls support #4665

Merged
merged 9 commits into from
Jan 4, 2025

Conversation

Aaronzinhoo
Copy link
Contributor

Adds support for YAML helm-ls to provide more targeted features when editing Helm
Charts and template files.

helm-ls starts a helm language server and conditionally starts a yaml-language-server which means a lot of configuration for this client is duplicated with the yaml-language-server client in lsp-yaml.el. The implementation supports all of the helm specific configuration settings and the priority has been set to 0 for now since no major mode will activate the helm-ls server. This means users would need to make their own major mode and update the lsp-language-id-configuration settings accordingly to make it usable for now.

I hope to make another PR here soon when I finish the minimal major mode for helm specific template files that I have been using to test with! Although helm-ls seems like a superset of the capabilities offered by yaml-language-server I would think its main purpose would editing kubernetes and helm / helmfile templated files specifically which would allow adding some tailoring and customizations that eventually diverge from the more generic yaml client! Open to ideas / thoughts here and any changes needed to get this through!

Happy holidays everyone!

@github-actions github-actions bot added documentation client One or more of lsp-mode language clients labels Dec 30, 2024
@Aaronzinhoo Aaronzinhoo changed the title Add additional LSP support for YAML by adding helm-ls support feat: add additional LSP support for YAML by adding helm-ls support Dec 30, 2024
@jcs090218
Copy link
Member

LGTM. Thank you!

@jcs090218 jcs090218 merged commit d26c755 into emacs-lsp:master Jan 4, 2025
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client One or more of lsp-mode language clients documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants