-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NeovimGtk does not create swp files #150
Comments
yes, it disabled because it sometime produce neovim-gtk freeze. New version of neovim fixes this but it still at development stage. neovim/neovim#9024 |
Turns out that this has huge ramifications. When my computer lost power, all files that were open in NeovimGtk, regardless of whether or not they were being edited(!), ended up as 0byte files when I rebooted my computer. I think that reliability is much more important than performance. I'd rather my editor freeze every now and then than lose hours of work. :( |
Yeah that's my problem in general with NeoVim. Vim actually still works really well despite it's age. I switch to neo vim for a couple months every year or so but eventually go back to vim because it works as expected. Last time around I tried VimR for a couple months and really liked some things about it. No longer using Mac though so I'm looking for a similar NeoVim version of Gvim. This looks somewhat promising. |
Still think freeze with unknown reason is bad and i don't have issues with file content lose, not sure why this happens. |
Would definitely appreciate a patch. It's frustrating having to rewrite a handful of classes more than once... let alone 3 times. |
@daa84 is there an update on this? |
I add option --enable-swap, think after nvim release i remove it |
I don't notice any lag or freezing with the new --enable-swap feature, fyi. I'll report back here if I do. |
@daa84 so I think it is time to remove it? It is part of Neovim release now. |
@daa84 is this officially fixed in the latest version of NeoVimGTK? Can this issue be closed? |
Describe the bug
NeovimGtk does not appear to create swap files when a file is opened. This leads to data loss when the editor unexpectedly quits (e.g. due to power failure).
Upon opening and editing a file, swap files are not populated in
$HOME/.local/share/nvim/swap
, or in the current directory.Technical information (please complete the following information):
The text was updated successfully, but these errors were encountered: