cphelper.nvim icon indicating copy to clipboard operation
cphelper.nvim copied to clipboard

No write since last change (add ! to override)

Open KoushikSahu opened this issue 3 years ago • 1 comments

Description:

I have been getting the following error once in a while when I have parsed the problem and left the file in insert mode before continuing to write into the file again.

Error message:

Error executing vim.schedule lua callback: ...nfig/nvim/plugged/cphelper.nvim/lua/cphelper/prepare.lua:62: Vim(edit):E37: No write since last change (add ! to override)
stack traceback:
[C]: in function 'cmd'
...nfig/nvim/plugged/cphelper.nvim/lua/cphelper/prepare.lua:62: in function 'prepare_files'
...nfig/nvim/plugged/cphelper.nvim/lua/cphelper/receive.lua:36: in function <...nfig/nvim/plugged/cphelper.nvim/lua/cphelper/receive.lua:30>

Steps to reproduce:

There is no such particular pattern I found to reproduce this error. Normally I get this error when I leave the file in insert mode and then try to write and save it into the file again.

KoushikSahu avatar Feb 22 '22 18:02 KoushikSahu

Does this still happen? If yes, can you post the new error message? The line numbers might have changed

p00f avatar Sep 11 '22 04:09 p00f

Closing due to no response from author

p00f avatar Jan 08 '23 13:01 p00f