Skip to content

miyakogi/flyjedi.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlyJedi.vim

Asynchronous, non-blocking python auto-comletion plugin for vim.

This is a successor of miyakogi/asyncjedi.

Features

  • Asynchronous, non-blocking auto-completion
  • Fast startup
  • Fuzzy completion
  • Virtualenv support

Lots of other jedi's features (goto, rename, usage, and so on) are not implemented. If you need these features, please use jedi-vim plugin. This plugin will not conflict with jedi-vim if you disable the auto completion of jedi-vim.

Requirements

  • Vim with +job and +channel features
  • Python 3.4+

Usage

This plugin may conflict with other completion plugins. So I recommend to disable them on python files.

Example (neocomplete)

" write after the above setting
autocmd myvimrc FileType python NeoCompleteLock

If you use with jedi-vim plugin, please disable its completions.

let g:jedi#completions_enabled = 0

Configuration

Project root

This plugin searches setup.py upwards from the current file, to find the project root. If you want to use another file name, for example .gitignore, add the following setting.

let g:flyjedi_root_filename = '.gitignore'

Additional information

By default, this plugin does not show additional information about completion items.

If you prefer to show additional information, please add the bellow setting. With this option, information will be shown on preview window and completion menu, if possible.

let g:flyjedi_detail_info = 1
" or, for buffer
" let b:flyjedi_detail_info = 1

Caution

Jedi sometimes takes too long time to get additional information, docstring/descriptions. If you encounter a performance issue, please disable this option.

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