-
Notifications
You must be signed in to change notification settings - Fork 188
Add instructions for helm-ls to docs #2589
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
Conversation
✅ Deploy Preview for sublime-lsp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Thanks @FichteFoll for the PR. I also want to communicate a mistake on my part. |
|
Hi @FichteFoll, with version v.0.3.0 helm-ls should now also be enabled for values.yaml files (mrjosh/helm-ls#61 (comment)). |
|
An LSP expert would need to comment on whether an LSP plugin can be active for files with specific names as I'm currently not aware of a way to do so (and don't have the time to look into it in detail). That does not mean there isn't one, however. |
|
The Sublime LSP client identifies the applicable documents based on the syntax scope instead of file patterns. So the best way would probably be to create a small "dummy" syntax that only applies to files with the name %YAML 1.2
---
name: YAML (values.yaml)
scope: source.yaml.values
hidden: true
hidden_file_extensions:
- values.yaml
contexts:
main:
- include: scope:source.yaml
apply_prototype: trueThen you can add the new base scope to the "selector": "source.yaml.go, source.yaml.values", |
No description provided.