nvim-treesitter-context icon indicating copy to clipboard operation
nvim-treesitter-context copied to clipboard

Prevented from exiting nvim: `"No write since last change"`

Open loqusion opened this issue 3 years ago • 1 comments

When I try to exit my editor via :qa, sometimes I'm shown an error saying "No write since last change". Then, a file like the one in the screenshot is shown, with 'modified' set to true as indicated by the + in the statusline.

Screen Shot 2022-09-07 at 5 02 36 PM

The contents correspond to the context lines:

Screen Shot 2022-09-07 at 5 06 13 PM

It seems to indicate that the buffer showing the context lines is considered modified for some reason?

loqusion avatar Sep 07 '22 22:09 loqusion

Same problem. It creates many different unwritten buffers with one or two lines code context.

adoyle-h avatar Sep 19 '22 15:09 adoyle-h