quickfix: fix options initialization
Options default value is hard coded making them override user values. Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
This commit is contained in:
parent
e02176aca1
commit
e5a51f9fca
@ -3,8 +3,13 @@
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
let g:airline#extensions#quickfix#quickfix_text = 'Quickfix'
|
||||
let g:airline#extensions#quickfix#location_text = 'Location'
|
||||
if !exists('g:airline#extensions#quickfix#quickfix_text')
|
||||
let g:airline#extensions#quickfix#quickfix_text = 'Quickfix'
|
||||
endif
|
||||
|
||||
if !exists('g:airline#extensions#quickfix#location_text')
|
||||
let g:airline#extensions#quickfix#location_text = 'Location'
|
||||
endif
|
||||
|
||||
function! airline#extensions#quickfix#apply(...)
|
||||
if &buftype == 'quickfix'
|
||||
|
Loading…
Reference in New Issue
Block a user