Asynchronous Jedi auto-completion plugin for vim, using job and channel feature
!!! THIS PLUGIN IS HIGHLY EXPERIMENTAL AND UNSTABLE !!!
- Asynchronous, non-blocking auto-completion
- Fast startup
- Fuzzy completion
- Support virtualenv
Lots of other jedi's features (goto, rename, usage, and so on) are not implemented.
Extremely recommended to add noinsert
and noselect
options to 'completeopt'
.
autocmd myvimrc FileType python setlocal completeopt+=noinsert,noselect
This plugin will conflict with other completion plugins. So you need to disable it.
Example (neocomplete)
" write after the above setting
autocmd myvimrc FileType python NeoCompleteLock
This plugin searches setup.py
upwards from the current file, to find project root.
If you want to use another file name, for example .gitignore
, add the following setting.
let g:asyncjedi_root_filename = '.gitignore'
Jedi sometimes takes too long time to get docstring/descriptions. If you encounter a performance issue, the following setting may help.
let g:asyncjedi_no_detail = 1