mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 08:11:48 +08:00
account for possible undefined variable.
This commit is contained in:
parent
ebb0040ca8
commit
a88996b170
|
@ -65,7 +65,7 @@ function! airline#extensions#apply(...)
|
|||
|
||||
if &buftype == 'quickfix'
|
||||
let w:airline_section_a = '%q'
|
||||
let w:airline_section_b = '%{w:quickfix_title}'
|
||||
let w:airline_section_b = '%{get(w:, "quickfix_title", "")}'
|
||||
let w:airline_section_c = ''
|
||||
let w:airline_section_x = ''
|
||||
elseif &buftype == 'help'
|
||||
|
|
Loading…
Reference in New Issue
Block a user