From 21107f040b1579c1139ef0ca2ce993603d24826f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 27 Apr 2025 14:12:18 +0300 Subject: Massive nvim refactor, migrated from nvim-lspconfig to NVIM 0.11 lsp/* also migrated most LSP clients to nix rather than mason --- .config/nvim/lua/plugins/auto-save.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/nvim/lua/plugins/auto-save.lua') diff --git a/.config/nvim/lua/plugins/auto-save.lua b/.config/nvim/lua/plugins/auto-save.lua index 5da836b..99ff70e 100644 --- a/.config/nvim/lua/plugins/auto-save.lua +++ b/.config/nvim/lua/plugins/auto-save.lua @@ -25,6 +25,11 @@ return { return { -- execution_message = { enabled = false }, removed condition = function(buf) + -- TODO: oil issues might be bcz of autosaving? + -- Maybe I should exclude Oil ft? + -- Might be unrelated tho + -- Oil error is "cannot save, action already in progress" + -- Save only if the buffer is not a "special buffer" return vim.fn.getbufvar(buf, '&buftype') == '' end, -- cgit v1.3.1