mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
Make terminal statusline work for inactive window
This commit is contained in:
@@ -70,6 +70,11 @@ function! airline#extensions#apply(...)
|
||||
let w:airline_render_right = 1
|
||||
endif
|
||||
|
||||
if &buftype == 'terminal'
|
||||
let w:airline_section_x = ''
|
||||
let w:airline_section_y = ''
|
||||
endif
|
||||
|
||||
if &previewwindow
|
||||
let w:airline_section_a = 'Preview'
|
||||
let w:airline_section_b = ''
|
||||
|
||||
Reference in New Issue
Block a user