aboutsummaryrefslogtreecommitdiff
path: root/runtime
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 /runtime
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 'runtime')
-rw-r--r--runtime/doc/ui.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index b385cab36f..e7be14e732 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -631,11 +631,13 @@ Tabline Events *ui-tabline*
Activated by the `ext_tabline` |ui-option|.
-["tabline_update", curtab, tabs]
+["tabline_update", curtab, tabs, curbuf, buffers]
Tabline was updated. UIs should present this data in a custom tabline
- widget.
- curtab: Current Tabpage
- tabs: List of Dicts [{ "tab": Tabpage, "name": String }, ...]
+ widget. Note: options `curbuf` + `buffers` were added in API7.
+ curtab: Current Tabpage
+ tabs: List of Dicts [{ "tab": Tabpage, "name": String }, ...]
+ curbuf: Current buffer handle.
+ buffers: List of Dicts [{ "buffer": buffer handle, "name": String}, ...]
==============================================================================
Cmdline Events *ui-cmdline*