diff --git a/autoload/jedi.vim b/autoload/jedi.vim index 78c0de6..a2172bf 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -407,15 +407,15 @@ endfunction function! jedi#complete_opened(is_popup_on_dot) if pumvisible() - if a:is_popup_on_dot - " Prevent completion of the first entry with dot completion. - return "\" - endif " Only go down if it is visible, user-enabled and the longest " option is set. if g:jedi#popup_select_first && stridx(&completeopt, 'longest') > -1 return "\" endif + if a:is_popup_on_dot + " Prevent completion of the first entry with dot completion. + return "\" + endif endif return "" endfunction