mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-04-08 19:35:31 +02:00
update preview in extensions.vim
This commit is contained in:
parent
c1de3d3370
commit
f0317f6dd4
@ -91,7 +91,7 @@ function! airline#extensions#apply(...)
|
||||
let w:airline_section_y = ''
|
||||
endif
|
||||
|
||||
if &previewwindow
|
||||
if &previewwindow && empty(get(w:, 'airline_section_a', ''))
|
||||
let w:airline_section_a = 'Preview'
|
||||
let w:airline_section_b = ''
|
||||
let w:airline_section_c = bufname(winbufnr(winnr()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user