diff options
| author | 2025-06-04 12:06:36 +0300 | |
|---|---|---|
| committer | 2025-06-04 12:06:36 +0300 | |
| commit | 27416cef9979882ee8c1da819d48216974c46535 (patch) | |
| tree | c5c074c2ffd13b00a3534931c9bc5f48b633a4a6 /nvim/lua/plugins/autosave.lua | |
| parent | 30.05.2025 (diff) | |
| download | dotfiles-27416cef9979882ee8c1da819d48216974c46535.tar.gz dotfiles-27416cef9979882ee8c1da819d48216974c46535.tar.bz2 dotfiles-27416cef9979882ee8c1da819d48216974c46535.tar.xz dotfiles-27416cef9979882ee8c1da819d48216974c46535.zip | |
04.06.2025
Diffstat (limited to 'nvim/lua/plugins/autosave.lua')
| -rw-r--r-- | nvim/lua/plugins/autosave.lua | 10 |
1 files changed, 1 insertions, 9 deletions
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) |
