[RDY] Add buffer information to tabline_update (#12481)

* Add buffer information to tabline_update

Most terminal implementations of the tabline display buffer and tab
information. Many neovim-qt users disable GuiTabline because it lacks
functionality provided in the terminal implementation.

The tabline_update event should include buffer information too, so client GUIs
can display rich useful tabs.
This commit is contained in:
John Gehrig
2021-06-27 15:30:09 -04:00
committed by GitHub
parent bdf3df4027
commit 5aaa1a1c04
4 changed files with 66 additions and 9 deletions

View File

@@ -130,7 +130,8 @@ void popupmenu_hide(void)
void popupmenu_select(Integer selected)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void tabline_update(Tabpage current, Array tabs)
void tabline_update(Tabpage current, Array tabs,
Buffer current_buffer, Array buffers)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void cmdline_show(Array content, Integer pos, String firstc, String prompt,