harpoon
harpoon copied to clipboard
fix(encode): use a `for`-loop, instead of `next()` or `ipairs()`, to prevent loss of data
This fixes the issue, when there's an empty line inside the quick-menu, which causes everything after the blank line to be forgotten (after Neovim is restarted).
This also restores the blank lines, which I'm not certain of is expected or not?!
There still seems to be an issue, when there are many blank items!? Some of them are just removed!? But, non-nil items seem to get restored alright!?
I think I might have found/fixed the same issue here #627 #628