diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 53c8dd30..e3ef2945 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -209,7 +209,9 @@ endfunction function! s:AllowedToCompleteInCurrentFile() - if empty( &filetype ) || getbufvar(winbufnr(winnr()), "&buftype") ==# 'nofile' + if empty( &filetype ) || + \ getbufvar( winbufnr( winnr() ), "&buftype" ) ==# 'nofile' || + \ &filetype ==# 'qf' return 0 endif