allow disabling airline per-buffer

This commit is contained in:
midchildan
2019-12-22 21:26:59 +09:00
parent bc0e2a3438
commit 9779a7a340
2 changed files with 20 additions and 3 deletions

View File

@@ -234,10 +234,15 @@ values):
<
Old deprecated name: `w:airline_disabled`
See also the following option, for disabling setting the statusline globally
See also the following options, for disabling setting the statusline
globally or per-buffer
* Disable setting the statusline option: >
" disable globally
let g:airline_disable_statusline = 1
" disable per-buffer
let b:airline_disable_statusline = 1
< This setting disables setting the 'statusline' option. This allows to use
e.g. the tabline extension (|airline-tabline|) but keep the 'statusline'
option totally configurable by a custom configuration.