mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-26 10:13:42 +08:00
Include the quickfix title in the statusline
The quickfix title often has useful information about how it was invoked. Include it in the statusline.
This commit is contained in:
parent
1dcdfc502e
commit
979c81c59f
2
autoload/airline/extensions.vim
Normal file → Executable file
2
autoload/airline/extensions.vim
Normal file → Executable file
|
@ -65,7 +65,7 @@ function! airline#extensions#apply(...)
|
|||
|
||||
if &buftype == 'quickfix'
|
||||
let w:airline_section_a = '%q'
|
||||
let w:airline_section_b = ''
|
||||
let w:airline_section_b = '%{w:quickfix_title}'
|
||||
let w:airline_section_c = ''
|
||||
let w:airline_section_x = ''
|
||||
elseif &buftype == 'help'
|
||||
|
|
Loading…
Reference in New Issue
Block a user