From 27416cef9979882ee8c1da819d48216974c46535 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 4 Jun 2025 12:06:36 +0300 Subject: 04.06.2025 --- nvim/lua/plugins/autosave.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nvim/lua/plugins/autosave.lua') diff --git a/nvim/lua/plugins/autosave.lua b/nvim/lua/plugins/autosave.lua index 9cbcd83..069afbf 100644 --- a/nvim/lua/plugins/autosave.lua +++ b/nvim/lua/plugins/autosave.lua @@ -56,17 +56,9 @@ return { return false end - -- Skip autosave if you're in an active snippet - if require("luasnip").in_snippet() then - return false - end - return true end, - write_all_buffers = false, -- write all buffers when the current one meets `condition` - -- Do not execute autocmds when saving - -- If you set noautocmd = true, autosave won't trigger an auto format - -- https://github.com/okuuva/auto-save.nvim/issues/55 + write_all_buffers = true, -- write all buffers when the current one meets `condition` noautocmd = false, lockmarks = false, -- lock marks when saving, see `:h lockmarks` for more details -- delay after which a pending save is executed (default 1000) -- cgit v1.2.3