diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-04-27 14:12:18 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-04-27 14:12:18 +0300 |
| commit | 21107f040b1579c1139ef0ca2ce993603d24826f (patch) | |
| tree | ec72798215c80179689b9a92d1f147308771244d /.config/nvim/lua/plugins/auto-save.lua | |
| parent | 49be66e67afbbe27b4d93ec1ff39bc6c1d97e3ef (diff) | |
Massive nvim refactor, migrated from nvim-lspconfig to NVIM 0.11 lsp/*
also migrated most LSP clients to nix rather than mason
Diffstat (limited to '.config/nvim/lua/plugins/auto-save.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/auto-save.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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, |
