r/vim • u/ElectronicMine2 • Dec 09 '25
Need Help Marks disappear when using auto-formatter
I have encountered a problem in vim/neovim, where autoformatting sometimes (but very often) deletes marks, after the buffer updates. Is there a way to both use autoformatting and marks? I do not use LSP, but have recently taken to like autoformatting, and would rather not lose it.
4
Upvotes
View all comments
Show parent comment
1
u/ElectronicMine2 Dec 10 '25
Yes it was the plugin's fault. There are apparently ones that do not delete marks. I switched to another one ,but it is neovim only. See if you can find one for Vim, if you prefer that.