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

Add CoC configuration #76

Closed
wants to merge 1 commit into from

Conversation

metal3d
Copy link

@metal3d metal3d commented Apr 10, 2024

The CoC configration is set in coc-settings.json. The added section explains how to configure helm_ls with CoC plugin.

@metal3d
Copy link
Author

metal3d commented Apr 10, 2024

Related to #75

The CoC configration is set in coc-settings.json. The added section
explains how to configure helm_ls with CoC plugin.
@metal3d metal3d force-pushed the feat-coc-configuration branch from 1d0ab40 to 4b7e9c8 Compare April 10, 2024 22:44
Copy link
Collaborator

@qvalentin qvalentin left a 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"],
Copy link
Collaborator

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?

Copy link
Author

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.
Copy link
Collaborator

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

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants