Skip to content

Commit de04b83

Browse files
committed
Do not use full documentation popups with nvim
Neovim has added completeopt+=popup support, but does not have popup_find(), so we can't easily display rich completion documentation. Simple documentation is a good enough fallback. Fixes #871
1 parent cdbf65b commit de04b83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/OmniSharp/actions/complete.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function! s:StdioGetCompletions(partial, opts, Callback) abort
6767
let wantDocPopup = OmniSharp#popup#Enabled()
6868
\ && g:omnicomplete_fetch_full_documentation
6969
\ && &completeopt =~# 'popup'
70+
\ && !has('nvim')
7071
let wantDoc = wantDocPopup ? 'false'
7172
\ : g:omnicomplete_fetch_full_documentation ? 'true' : 'false'
7273
let wantSnippet = g:OmniSharp_want_snippet ? 'true' : g:OmniSharp_coc_snippet ? 'true' : 'false'

0 commit comments

Comments
 (0)