doc: ammend doc about statusline on top

This commit is contained in:
Christian Brabandt 2019-02-04 09:55:48 +01:00
parent 25e384f236
commit 23a8a7e04d
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -241,6 +241,9 @@ values):
Updating the statusline might not always happen as fast as needed, but that Updating the statusline might not always happen as fast as needed, but that
is a limitation, that comes from Vim. airline tries to force an update if is a limitation, that comes from Vim. airline tries to force an update if
needed, but it might not always work as expected. needed, but it might not always work as expected.
To force updating the tabline on mode changes, call `airline#check_mode()`
in your custom statusline setting, so `:set stl=%!airline#check_mode(winnr())`
will correctly update the tabline on mode changes.
============================================================================== ==============================================================================
COMMANDS *airline-commands* COMMANDS *airline-commands*