mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-26 07:25:18 +02: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 = ''
|
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()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user