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:
Toni Müller
2024-04-25 08:34:17 +02:00
committed by GitHub
parent 213f92ad96
commit fddbf38851
3 changed files with 12 additions and 2 deletions
+1
View File
@@ -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,