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.
e12bab3144
This commit is contained in:
Jan Edmund Lazo
2019-07-22 06:25:07 -04:00
committed by Justin M. Keyes
parent f8684bf6b9
commit 39549159fe
6 changed files with 61 additions and 9 deletions

View File

@@ -2150,6 +2150,12 @@ return {
addr_type=ADDR_LINES,
func='ex_redrawstatus',
},
{
command='redrawtabline',
flags=bit.bor(TRLBAR, CMDWIN),
addr_type=ADDR_LINES,
func='ex_redrawtabline',
},
{
command='registers',
flags=bit.bor(EXTRA, NOTRLCOM, TRLBAR, CMDWIN),