Always ignoring 'qf' buffers

Fixes #643.
This commit is contained in:
Strahinja Val Markovic 2013-11-16 10:31:34 -08:00
parent 780d7b8dac
commit 3ffae48a35

View File

@ -209,7 +209,9 @@ endfunction
function! s:AllowedToCompleteInCurrentFile() function! s:AllowedToCompleteInCurrentFile()
if empty( &filetype ) || getbufvar(winbufnr(winnr()), "&buftype") ==# 'nofile' if empty( &filetype ) ||
\ getbufvar( winbufnr( winnr() ), "&buftype" ) ==# 'nofile' ||
\ &filetype ==# 'qf'
return 0 return 0
endif endif