mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-10-01 16:03:49 +08:00
Correct quickfix window detection pattern
This commit is contained in:
1 parent
ce32405105
commit
fdc847c8da
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user