@@ -88,10 +88,10 @@ function! s:init_python()
endif
- if has('python')
- call jedi#setup_py_version(2)
- elseif has('python3')
+ if has('python3')
call jedi#setup_py_version(3)
+ elseif has('python')
+ call jedi#setup_py_version(2)
else
throw "jedi-vim requires Vim with support for Python 2 or 3."
@@ -50,6 +50,7 @@ nnoremap U :GundoToggle<CR>
let g:jedi#use_tabs_not_buffers = 0
let g:jedi#use_splits_not_buffers = 'winwidth'
+let g:jedi#popup_select_first = 0
let g:pyflakes_autostart = 0
map <F11> :PyflakesToggle<cr>