completion tests

This commit is contained in:
David Halter
2013-08-28 19:44:56 +04:30
parent dd426c6369
commit 48d0370387
2 changed files with 13 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ function! jedi#complete_string(is_popup_on_dot)
end
endfunction
function! jedi#complete_opened()
if pumvisible() && g:jedi#popup_select_first && stridx(&completeopt, 'longest') > -1
" only go down if it is visible, user-enabled and the longest option is set