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

nvim lsp installer available ? #1

Closed
bboyadao opened this issue Apr 13, 2022 · 2 comments
Closed

nvim lsp installer available ? #1

bboyadao opened this issue Apr 13, 2022 · 2 comments

Comments

@bboyadao
Copy link

Could you make it work with https://github.com/williamboman/nvim-lsp-installer ?

@mrjosh
Copy link
Owner

mrjosh commented May 2, 2022

hey @bboyadao sorry for my late response

I gotta say, this project is still at development stage
so please expect some bugs here and there

I'll make it available on nvim-lsp-installer as soon as it gets to a stable version
but if you're using nvim-lspconfig, which i believe you have it installed
you can follow these steps below to have it setup

1) Download the latest version of helm_lint_ls binary from here

  • Move the binary to whatever location you want, just be aware that you need to put the binary path inside the config setup

2) Setup it at your nvim configuration file

local configs = require('lspconfig.configs')
local lspconfig = require('lspconfig')

if not configs.helm_lint_ls then
  configs.helm_lint_ls = {
    default_config = {
      cmd = {"{helm_lint_ls_binary_path}", "serve"},
      filetypes = {'helm'},
      root_dir = function(fname)
        return util.root_pattern('Chart.yaml', 'values.yaml')(fname)
      end,
    },
  }
end

lspconfig.helm_lint_ls.setup {}

3) Its done.

  • Open a helm project with your neovim and see if you can see lsp attached the client to the buffer or not.

  • If you're still having issues with this setup, feel free to ask. x

@varac
Copy link

varac commented Nov 22, 2022

Just noticed that:

nvim-lsp-installer is no longer maintained.
mason.nvim is the next generation version of nvim-lsp-installer.

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

3 participants