[Buffers] Ignore quickfix Windows (#249)

This commit is contained in:
Junegunn Choi 2016-11-26 13:00:27 +09:00
parent dc9364c137
commit 3fbcfdb9ea
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -117,7 +117,7 @@ for s:color_name in keys(s:ansi)
endfor
function! s:buflisted()
return filter(range(1, bufnr('$')), 'buflisted(v:val)')
return filter(range(1, bufnr('$')), 'buflisted(v:val) && getbufvar(v:val, "&filetype") != "qf"')
endfunction
function! s:defaults()