--- a/plugin/clang.vim
+++ b/plugin/clang.vim
@@ -583,11 +583,11 @@ func! s:HasPreviewAbove()
let l:cwin = winnr()
let l:has = 0
" goto above
- wincmd k
+ "wincmd k
if &completeopt =~ 'preview' && &previewwindow
let l:has = 1
endif
- exe l:cwin . 'wincmd w'
+ "exe l:cwin . 'wincmd w'
return l:has
endf
"}}}
@@ -1405,7 +1405,7 @@ func! s:ClangComplete(findstart, base)
" close preview window if empty or has no preview window above, may above
" other windows...
if empty(b:clang_cache['completions']) || !s:HasPreviewAbove()
- pclose
+ "pclose
endif
" call to show diagnostics
But not sure if this is the only way forward ?
thx,