mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-21 04:01:54 +08:00
Merge pull request #2042 from kazukazuinaina/fix_issue_2041
update &preview in extensions.vim
This commit is contained in:
commit
8d694cba9c
@ -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