helm-ls
helm-ls copied to clipboard
Possible to make it work with CoC (neovim) ?
Hello,
CoC is a very nice plugin that can use Langauge Servers (it works very well with Go, Python, TypeScript... and so on)
I try to make helm_ls
working, but nothing seems to work.
Here is the configuration I added to CocConfig:
"languageserver": {
"helm": {
"command": "helm_ls",
"filetypes": ["yaml"]
}
},
I also tried:
"languageserver": {
"helm": {
"command": "helm_ls",
"argd": ["serve"],
"filetypes": ["yaml"]
}
},
The server seems to be never used, never started, and I've got no diagnostic with helm files.
If someone can help...
Ho!
Found:
"languageserver": {
"helm": {
"command": "helm_ls",
"args": ["serve"],
"filetypes": ["yaml", "helm", "helmfile"],
"rootPatterns": ["Chart.yaml"]
}
},
And it's OK. It's fantastic, I've got errors, documentation, ...
Maybe I can make a PR with the "how to neovim + CoC" in the README?
Fixed in https://github.com/mrjosh/helm-ls/pull/79