summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-08 22:02:56 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-08 22:02:56 +0100
commite12bab3144af8943937bd0ff4bc57f04e53037b3 (patch)
tree4eab96cbe0a9f126f971d85dce929537371109e2 /runtime
parent6d4470b0e9aac76ae43be27a28447ea29767d77f (diff)
patch 8.1.0706: tabline is not always redrawnv8.1.0706
Problem: Tabline is not always redrawn when something that is used in 'tabline' changes. Solution: Add ":redrawtabline" so that a plugin can at least cause the redraw when needed.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt3
-rw-r--r--runtime/doc/various.txt7
2 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 60f01de338..008926f63e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -7758,6 +7758,9 @@ A jump table for the options with a short description can be found at |Q_op|.
the text to be displayed. Use "%1T" for the first label, "%2T" for
the second one, etc. Use "%X" items for closing labels.
+ When changing something that is used in 'tabline' that does not
+ trigger it to be updated, use |:redrawtabline|.
+
Keep in mind that only one of the tab pages is the current one, others
are invisible and you can't jump to their windows.
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 67acc645fc..37b7074a1d 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 8.1. Last change: 2018 Dec 13
+*various.txt* For Vim version 8.1. Last change: 2019 Jan 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,11 @@ CTRL-L Clear and redraw the screen. The redraw may happen
includes an item that doesn't cause automatic
updating.
+ *:redrawt* *:redrawtabline*
+:redrawt[abline] Redraw the tabline. Useful to update the tabline when
+ 'tabline' includes an item that doesn't trigger
+ automatic updating.
+
*N<Del>*
<Del> When entering a number: Remove the last digit.
Note: if you like to use <BS> for this, add this