Closed kindrowboat closed 5 years ago
I remember there were some swap-related issues around that Nvim version that were introduced and later fixed by backporting a few patches from Vim. Please try upgrading your Nvim (v0.3.8 is the current release).
For double-checking you could test if you can reproduce this with Vim. If not, then you know it's not a problem with the plugin but with that particular Nvim version.
You're right, upgrading to vim 0.3.8 fixed the issue when using vim-startify by itself. Interestingly however, it did not fix the issue when running vim-startify with SpaceVim (and disabling vim-startify in SpaceVim "fixes" the issue.) Feel free to close this issue, but if you have time, it would be wonderful if you could check out SpaceVim/SpaceVim#2966 to see if you can be of assistance.
Hello! When starting up neovim using
vim-startify
and opening any file (either using a shortcut on the vim-startify screen or using:e any_file.txt
, the file does not get a swapfile (i.e. running:swapname
yields "No swap file"). This issue was originally reported to SpaceVim/SpaceVim#2966.Environment
Ubuntu 19.04 neovim 0.3.4 (installed from the Ubuntu repositories) vimrc:
Steps to reproduce
nvim
(note: it's important to not give a filename):e any_file.txt
:swapname
Observed (incorrect) behavior
Status line says "No swap file"
Expected behavor
Status line says "/home/motevets/.local/share/nvim/swap//%tmp%directory%any_file.txt.swp" (or something similar)