diff --git a/autoload/airline/extensions/quickfix.vim b/autoload/airline/extensions/quickfix.vim index 55504ea..2680371 100644 --- a/autoload/airline/extensions/quickfix.vim +++ b/autoload/airline/extensions/quickfix.vim @@ -13,7 +13,7 @@ endif function! airline#extensions#quickfix#apply(...) if &buftype == 'quickfix' - let w:airline_section_a = s:get_text() + let w:airline_section_a = airline#extensions#quickfix#get_type() let w:airline_section_b = '%{get(w:, "quickfix_title", "")}' let w:airline_section_c = '' let w:airline_section_x = '' @@ -31,7 +31,7 @@ function! airline#extensions#quickfix#inactive_qf_window(...) endif endfunction -function! s:get_text() +function! airline#extensions#quickfix#get_type() if exists("*win_getid") && exists("*getwininfo") let dict = getwininfo(win_getid()) if len(dict) > 0 && get(dict[0], 'quickfix', 0) && !get(dict[0], 'loclist', 0)