From fdc847c8daf3c7f40bfb9a8ea8193b623dc5dfa5 Mon Sep 17 00:00:00 2001 From: Quinn Strahl Date: Mon, 9 Dec 2013 15:05:10 -0500 Subject: [PATCH] Correct quickfix window detection pattern --- autoload/airline/extensions/quickfix.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/quickfix.vim b/autoload/airline/extensions/quickfix.vim index 7afad864..f000e027 100644 --- a/autoload/airline/extensions/quickfix.vim +++ b/autoload/airline/extensions/quickfix.vim @@ -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