Skip to content

Commit

Permalink
Better solargraph
Browse files Browse the repository at this point in the history
  • Loading branch information
ameykusurkar committed Aug 5, 2023
1 parent b4768e8 commit 8a83cbd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,16 @@ lspconfig.gopls.setup({ capabilities = capabilities, on_attach = on_attach })

lspconfig.pyright.setup({ capabilities = capabilities, on_attach = on_attach })

lspconfig.rubocop.setup({
-- lspconfig.rubocop.setup({
-- capabilities = capabilities,
-- on_attach = on_attach,
-- cmd = { "bundle", "exec", "rubocop", "--lsp" }
-- })
lspconfig.solargraph.setup({
capabilities = capabilities,
on_attach = on_attach,
cmd = { "bundle", "exec", "rubocop", "--lsp" }
cmd = { "bundle", "exec", "solargraph", "stdio" }
})
lspconfig.solargraph.setup({ capabilities = capabilities, on_attach = on_attach })

lspconfig.hls.setup({ capabilities = capabilities, on_attach = on_attach })

Expand Down

0 comments on commit 8a83cbd

Please sign in to comment.