On caring for user data: NeoVim caused Vim undo files to be deleted
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
On caring for user data: NeoVim caused Vim undo files to be deleted
Unofficial Hacker News client; not affiliated with Y Combinator.
gavinhoward · · focus · HN ↗
Unlike Dr. Chisnall, I started my editor journey on Neovim, so it wasn't a transition that bit me. However, if the format of the persistent undo file is unstable, and Neovim just deletes it when it doesn't recognize the previous format, then it seems conceivable (to me) that an upgrade after changing the format would delete the file too.
Ouch. This is making me think about getting off of Neovim. Yes, FOSS comes as-is, but if there's an alternative...
cdmckay · · focus · HN ↗
I could see ignoring the old undo data or warning before discarding it but just silently wiping it is so user hostile it’s hard to comprehend.
loeg · · focus · HN ↗
xoa · · focus · HN ↗
[deleted] · · focus · HN ↗
[deleted]
bot403 · · focus · HN ↗
physicalecon · · focus · HN ↗
[dead]
59percentmore · · focus · HN ↗
If not, I wonder how Google justifies it.
jwr · · focus · HN ↗
diendiencjejd · · focus · HN ↗
Google is abysmal. In every sense of the word and in every product they touch.
rcxdude · · focus · HN ↗
To me it's a bit like storing your important files in a ramfs and then complaining that your OS doesn't respect user data when it crashes. Sure, it's not exactly a documented behaviour of the system, but you're also not storing your data in a place the developers of the OS expected you to put important data.
eviks · · focus · HN ↗
So exactly the opposite of persistent undo?
The short-termism changes little here, losing weeks' worth of work just because you deleted it recently by mistake and then upgraded with the app deleting the undo, is also bad
rcxdude · · focus · HN ↗