A thousand pardons if it's obvious that this is not possible. I'm not new to nvim but I don't have a very deep understanding of all its workings. (Using this plugin has greatly increased my understanding of buffers, windows, tabs, etc!) I'm coming from using tabs for everything. Opening with tabe, closing with tabc and so on.
Whenever I try to navigate away from a buffer that I have not saved using BufferNext or BufferPrevious I get this error:
Error detected while processing function <SNR>28_goto_buffer_relative:
line 1:
E5108: Error executing lua ...ite/pack/paqs/start/barbar.nvim/lua/bufferline/state.lua:364: Vim(buffer):E37: No write since last change (add ! to override)
Press ENTER or type command to continue
Is there something I can do to make this possible? I'm also willing to open a PR to help if I can be directed towards what I'd need to change.
To Reproduce
Open more than one buffer
Modify the contents of one
Try to navigate away from it using BufferNext or BufferPrevious
Description
A thousand pardons if it's obvious that this is not possible. I'm not new to nvim but I don't have a very deep understanding of all its workings. (Using this plugin has greatly increased my understanding of buffers, windows, tabs, etc!) I'm coming from using tabs for everything. Opening with
tabe
, closing withtabc
and so on.Whenever I try to navigate away from a buffer that I have not saved using
BufferNext
orBufferPrevious
I get this error:Is there something I can do to make this possible? I'm also willing to open a PR to help if I can be directed towards what I'd need to change.
To Reproduce
BufferNext
orBufferPrevious
init.lua:
Informations Neovim version: v0.5.0-dev+1455-gf83c25942