Fork me on GitHub
#vim
<
2022-07-28
>
Martynas Maciulevičius12:07:35

Hey. I'm frustrated that nvim constantly deletes my marks. When I use formatting on save the marks are always deleted. Is there a way to persist them? It doesn't matter if the line numbers won't match. But at least the marks will not be destroyed :thinking_face:

dominicm13:07:15

Some plugins can persist the marks when you format on save.

dave14:07:39

I've never had this issue, and now I'm wondering if it might be because of a plugin I use. :thinking_face: I use https://github.com/kshenoy/vim-signature which is excellent. Maybe give that a try and see if your issue is resolved?

Martynas Maciulevičius14:07:50

I don't want to have too much GUI action but that plugin should be useful during debugging.

dominicm15:07:33

Plugins like https://github.com/sbdchd/neoformat will persist them.

1
dominicm15:07:42

It depends how you set up your formatter 😊