Browse Source

nixpkgs/neovim: replace solargraph with ruby-lsp

Thomas Dy 1 month ago
parent
commit
d40e84207d
1 changed files with 5 additions and 3 deletions
  1. 5 3
      .config/nixpkgs/neovim/lsp.lua

+ 5 - 3
.config/nixpkgs/neovim/lsp.lua

@@ -62,11 +62,13 @@ if vim.fn.executable("gopls") == 1 then
   });
 end
 
-if vim.fn.executable("solargraph") == 1 then
-  nvim_lsp.solargraph.setup({
+if vim.fn.executable("ruby-lsp") == 1 then
+  nvim_lsp.ruby_lsp.setup({
     capabilities = capabilities,
     init_options = {
-      formatting = false,
+      enabledFeatures = {
+        formatting = false,
+      },
     }
   })
 end