Przeglądaj źródła

nixpkgs/neovim: disable solargraph formatting

Thomas Dy 2 lat temu
rodzic
commit
3dda738205
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      .config/nixpkgs/neovim/lsp.lua

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

@@ -101,6 +101,9 @@ end
 if vim.fn.executable("solargraph") == 1 then
   nvim_lsp.solargraph.setup({
     on_attach = on_attach,
+    init_options = {
+      formatting = false,
+    }
   })
 end