mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-12 15:50:13 +08:00
Merge pull request #1643 from ThomasFaivre/quickfix
quickfix: fix options initialization
This commit is contained in:
1 file changed
+7
-2
@@ -3,8 +3,13 @@
|
|||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
let g:airline#extensions#quickfix#quickfix_text = 'Quickfix'
|
if !exists('g:airline#extensions#quickfix#quickfix_text')
|
||||||
let g:airline#extensions#quickfix#location_text = 'Location'
|
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(...)
|
function! airline#extensions#quickfix#apply(...)
|
||||||
if &buftype == 'quickfix'
|
if &buftype == 'quickfix'
|
||||||
|
|||||||
Reference in new issue
Block a user