diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-22 06:25:07 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-22 12:25:07 +0200 |
commit | 39549159fef535ef2d44c0ca62137bac16f469ee (patch) | |
tree | 2f23f016381ddcaa17e3a385c74553373899cf29 /runtime | |
parent | f8684bf6b9e586733c42a21f3f4c947a37bacdbc (diff) | |
download | rneovim-39549159fef535ef2d44c0ca62137bac16f469ee.tar.gz rneovim-39549159fef535ef2d44c0ca62137bac16f469ee.tar.bz2 rneovim-39549159fef535ef2d44c0ca62137bac16f469ee.zip |
vim-patch:8.1.0706: introduce :redrawtabline #10570
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.
https://github.com/vim/vim/commit/e12bab3144af8943937bd0ff4bc57f04e53037b3
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | runtime/doc/various.txt | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 84e08ae04b..f8a6ee4a48 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6027,6 +6027,8 @@ 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|. This option cannot be set in a modeline when 'modelineexpr' is off. Keep in mind that only one of the tab pages is the current one, others diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index bfb00f74c4..0429341b6f 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -31,6 +31,11 @@ CTRL-L Clears and redraws the screen. The redraw may happen Useful if 'statusline' 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 |