Merge pull request #656 from michamos/patch-1

Improve Quickfix window detection
This commit is contained in:
Bailey Ling 2014-11-26 09:17:42 -05:00
commit 4a2208821e
1 changed files with 1 additions and 1 deletions

View File

@ -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