Browse Source

nixpkgs/neovim: disable solargraph formatting

Thomas Dy 2 năm trước cách đây
mục cha
commit
3dda738205
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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