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

Possible to make it work with CoC (neovim) ? #75

Closed
metal3d opened this issue Apr 10, 2024 · 2 comments
Closed

Possible to make it work with CoC (neovim) ? #75

metal3d opened this issue Apr 10, 2024 · 2 comments

Comments

@metal3d
Copy link

metal3d commented Apr 10, 2024

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...

@metal3d metal3d changed the title Possible to make it work with CoC ? Possible to make it work with CoC (neovim) ? Apr 10, 2024
@metal3d
Copy link
Author

metal3d commented Apr 10, 2024

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, ...

image

image

image

Maybe I can make a PR with the "how to neovim + CoC" in the README?

@qvalentin
Copy link
Collaborator

Fixed in #79

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

No branches or pull requests

2 participants