okuuva / auto-save.nvim

🧶 Automatically save your changes in NeoVim
GNU General Public License v3.0
154 stars 8 forks source link

feat: GH-44 lock marks when saving #53

Closed primeapple closed 5 months ago

primeapple commented 5 months ago

Use lockmarks in write command to keep [ and ] marks after saving.

Thanks @simonmandlik

okuuva commented 5 months ago

This is a great addition, but I think it should be a configuration option which defaults to false. My reasoning being that a manual save doesn't lock marks either by default.

primeapple commented 5 months ago

I changed it accordingly and made it an options. Thanks for the feedback. I wonder at which point do we let the user to specify the save command themselves... :D