kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

Rubocop LSP #157

Open brandoncc opened 2 years ago

brandoncc commented 2 years ago

Shopify has put out a Rubocop LSP which is much faster than using rubocop with diagnosticls and I'd love to use it with neovim. Unfortunately, I can't figure out how to get it working.

The required Ruby gem: https://rubygems.org/gems/rubocop-lsp/versions/0.1.5 The VS Code extension: https://marketplace.visualstudio.com/items?itemName=Shopify.rubocop-lsp

I tried using something like this for an install config:

bundle init
bundle add rubocop-lsp

and then a command to run the bundle exec rubocop command.

It did install with :LspInstall rubocop, but it didn't seem to function properly and I didn't know how to fix it.

If someone knows how to make it work, that would be awesome!