Merge pull request #656 from michamos/patch-1
Improve Quickfix window detection
This commit is contained in:
commit
4a2208821e
|
@ -25,7 +25,7 @@ function! s:get_text()
|
|||
let nr = bufnr('%')
|
||||
for buf in split(buffers, '\n')
|
||||
if match(buf, '\v^\s*'.nr) > -1
|
||||
if match(buf, '\[Quickfix List\]') > -1
|
||||
if match(buf, '\cQuickfix') > -1
|
||||
return g:airline#extensions#quickfix#quickfix_text
|
||||
else
|
||||
return g:airline#extensions#quickfix#location_text
|
||||
|
|
Loading…
Reference in New Issue