From 3ffae48a35841231fbf9a250431807f1b66862d0 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sat, 16 Nov 2013 10:31:34 -0800 Subject: [PATCH] Always ignoring 'qf' buffers Fixes #643. --- autoload/youcompleteme.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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