Even though the README says that autosave is disabled by default, it seems to be enabled. Furthermore, I can't figure out how to disable it. I've tried putting let g:autosave = 0 in ~/.vimrc.local.before, ~/.vimrc.local, and ~/.vimrc.local.plugins, but it still has some sort of autosave enabled.
Steps to reproduce:
open a new file with nvim foo
go into insert mode (type i)
type bar
return to normal mode (hit <escape>)
quit (type :q)
type cat foo
Current output:
bar
Expected output:
cat: foo: No such file or directory
I just tried using :q! to quit, and that actually seems to avoid saving... I'm going to close this, but having :q save seems a little surprising to me. I'll think about that and maybe open another issue.
Even though the README says that autosave is disabled by default, it seems to be enabled. Furthermore, I can't figure out how to disable it. I've tried putting
let g:autosave = 0
in~/.vimrc.local.before
,~/.vimrc.local
, and~/.vimrc.local.plugins
, but it still has some sort of autosave enabled.Steps to reproduce:
nvim foo
i
)bar
<escape>
):q
)cat foo
Current output:
bar
Expected output:
cat: foo: No such file or directory