mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
prefer popup over preview window
This commit is contained in:
@@ -33,7 +33,12 @@ if get(g:, 'jedi#auto_vim_configuration', 1)
|
||||
redir END
|
||||
endif
|
||||
if len(split(completeopt, '\n')) == 1
|
||||
set completeopt=menuone,longest,preview
|
||||
set completeopt=menuone,longest
|
||||
if v:version > 801 || (v:version == 801 && has('patch-8.1.1882'))
|
||||
set completeopt+=popup
|
||||
else
|
||||
set completeopt+=preview
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
if has('nvim')
|
||||
|
||||
Reference in New Issue
Block a user