-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add CoC configuration #76
Conversation
Related to #75 |
The CoC configration is set in coc-settings.json. The added section explains how to configure helm_ls with CoC plugin.
1d0ab40
to
4b7e9c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution.
I just have some small questions.
"helm": { | ||
"command": "helm_ls", | ||
"args": ["serve"], | ||
"filetypes": ["yaml", "helm", "helmfile"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not sure about having yaml here.
How did you setup the filetypes helm and helmfile in your config? With towolf/vim-helm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes right.
Maybe I can remove yaml from the list. I will do it today.
@@ -178,6 +178,33 @@ settings = { | |||
See [examples/nvim/init.lua](https://github.com/mrjosh/helm-ls/blob/master/examples/nvim/init.lua) for an | |||
complete example, which also includes yaml-language-server. | |||
|
|||
#### Neovim + CoC plugin | |||
|
|||
Using the [coc.nvim](https://github.com/neoclide/coc.nvim) plugin, you don't need the previous configuration in lua. Coc will handle the configuration instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need the previous configuration in lua
Maybe we should restructure the readme to something like:
Neovim config
explain filetypes etc (anything that must be done for both nvim-lspconfig and coc)
nvim-lspconfig
explain setup with nvim-lspconfig
coc
explain setup with coc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update on this?
The CoC configration is set in coc-settings.json. The added section explains how to configure helm_ls with CoC plugin.