Skip to content

Asynchronous Jedi auto-completion plugin for vim, using job and channel feature

License

Notifications You must be signed in to change notification settings

miyakogi/asyncjedi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncJedi

Asynchronous Jedi auto-completion plugin for vim, using job and channel feature

!!!CAUTION!!!

!!! THIS PLUGIN IS HIGHLY EXPERIMENTAL AND UNSTABLE !!!

Screen Cast

screencast1.gif

Features

  • 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.

Usage

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

Configuration

Project root

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'

Disable additional information

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

Default

asyncjedi1.png

With no-detail option

asyncjedi2.png

About

Asynchronous Jedi auto-completion plugin for vim, using job and channel feature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published