aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
diff options
context:
space:
mode:
authorJohn Gehrig <jgehrig@users.noreply.github.com>2021-06-27 15:30:09 -0400
committerGitHub <noreply@github.com>2021-06-27 15:30:09 -0400
commit5aaa1a1c0473d9e9ac824201f92ec65e190beeb7 (patch)
treec444f01a33a27801f73d4afebd19dc65ee36d068 /src/nvim/api
parentbdf3df4027a5389a46b4c9a75b50aff5c0ecb351 (diff)
downloadrneovim-5aaa1a1c0473d9e9ac824201f92ec65e190beeb7.tar.gz
rneovim-5aaa1a1c0473d9e9ac824201f92ec65e190beeb7.tar.bz2
rneovim-5aaa1a1c0473d9e9ac824201f92ec65e190beeb7.zip
[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.
Diffstat (limited to 'src/nvim/api')
-rw-r--r--src/nvim/api/ui_events.in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/ui_events.in.h b/src/nvim/api/ui_events.in.h
index 11e21a88ea..35d39a34d7 100644
--- a/src/nvim/api/ui_events.in.h
+++ b/src/nvim/api/ui_events.in.h
@@ -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,