From 8a83cbd086d4fc175a98fd385cb794bb2a374ce4 Mon Sep 17 00:00:00 2001 From: Amey Kusurkar Date: Sat, 5 Aug 2023 14:14:10 +0100 Subject: [PATCH] Better solargraph --- nvim/init.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 3f31367..b92a00f 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -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 })