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