mirror of
https://github.com/zoriya/auto-save.nvim.git
synced 2026-06-05 11:29:09 +00:00
feat: GH-44 lock marks when saving (#53)
Use `lockmarks` in write command to keep `[` and `]` marks after saving. Thanks @simonmandlik --------- Co-authored-by: okuuva <okuuva@users.noreply.github.com>
This commit is contained in:
@@ -113,6 +113,7 @@ EOF
|
||||
condition = nil,
|
||||
write_all_buffers = false, -- write all buffers when the current one meets `condition`
|
||||
noautocmd = false, -- do not execute autocmds when saving
|
||||
lockmarks = false, -- lock marks when saving, see `:h lockmarks` for more details
|
||||
debounce_delay = 1000, -- delay after which a pending save is executed
|
||||
-- log debug messages to 'auto-save.log' file in neovim cache directory, set to `true` to enable
|
||||
debug = false,
|
||||
|
||||
Reference in New Issue
Block a user