Merge pull request #375 from qstrahl/master

Correct quickfix window detection pattern
This commit is contained in:
Bailey Ling 2013-12-09 17:37:39 -08:00
commit 87951ba090
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function! s:get_text()
let nr = bufnr('%')
for buf in split(buffers, '\n')
if match(buf, '\v^\s+'.nr) > -1
if match(buf, '\v^\s*'.nr) > -1
if match(buf, '\[Quickfix List\]') > -1
return g:airline#extensions#quickfix#quickfix_text
else