Skip to content

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

Merged
jcs090218 merged 9 commits intoemacs-lsp:masterfrom
Aaronzinhoo:add-helm-ls-support
Jan 4, 2025
Merged

feat: add additional LSP support for YAML by adding helm-ls support#4665
jcs090218 merged 9 commits intoemacs-lsp:masterfrom
Aaronzinhoo:add-helm-ls-support

Conversation

@Aaronzinhoo
Copy link
Copy Markdown
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
Copy Markdown
Member

LGTM. Thank you!

@jcs090218 jcs090218 merged commit d26c755 into emacs-lsp:master Jan 4, 2025
@Aaronzinhoo Aaronzinhoo deleted the add-helm-ls-support branch January 9, 2025 18:21
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