Open cpfaff opened 2 years ago
This issue does not seem to be stably reproduced, I suspect that some exceptions occur in nvim_buf_set_lines
. I try to fix it by this patch https://github.com/weirongxu/coc-explorer/commit/3992e5dcafc90c982f6123207c3770fbc8b5b705
Just updated and tried again. I still see that message every now an then. However I guess it happens just in a really specific edge case. I had no time yet to figure out reliable steps to reproduce it. I am on it.
Sometimes it happens when i do this:
:bd!
close the file buffer:bd!
close the explorer buffer:q!
Then I get the warning. And when I then hit q then I end up in the explorer again
I guess other plugins have modified the coc-explorer buffer, then caused this issue. I have frequently encountered this recently, I will follow up on this.
Sometimes it happens to me that when I close the buffer of the explorer then it gives me the wraning "No write since last change". That might be caused as the explorer relies on the buffer being "modifyable" and sometimeds the changes may not yet written when I want to exit my editor.