vim-airline/autoload/airline/extensions/tabline
Christian Brabandt de73a21903
tabline: Give error message, if switching buffers is not possible
When using Neovim and switching to another buffer with the mouse and the
current buffer is modified, Vim refuses to switch buffers rightfully,
if the user has not set 'hidden' or 'autowrite' (because it is going to
unload the buffer from memory).

So catch this case and let the user know.

Note: :b! would be another possibility, but I do not prefer using this
attribute, because it is not clear what happens to the current buffer. I
think it is made hidden, but I prefer to be explicit here

closes #2478
2021-12-05 18:52:27 +01:00
..
formatters vim9: Needs at least version 8.2.22844 2021-06-07 13:44:53 +02:00
autoshow.vim Change event for tabline autoshow 2021-05-27 08:29:30 +00:00
buffers.vim tabline: Give error message, if switching buffers is not possible 2021-12-05 18:52:27 +01:00
buflist.vim autocommands: check for existence of airline highlight group 2021-04-30 13:26:33 +02:00
builder.vim Happy new year! 2021-01-01 12:57:00 +00:00
ctrlspace.vim autocommands: check for existence of airline highlight group 2021-04-30 13:26:33 +02:00
tabs.vim autocommands: check for existence of airline highlight group 2021-04-30 13:26:33 +02:00
tabws.vim autocommands: check for existence of airline highlight group 2021-04-30 13:26:33 +02:00
xtabline.vim autocommands: check for existence of airline highlight group 2021-04-30 13:26:33 +02:00