Code Monkey home page Code Monkey logo

deoplete-jedi's Introduction

deoplete-jedi

deoplete.nvim source for jedi.

Status
Travis CI Build Status
Gitter Join the chat at https://gitter.im/zchee/deoplete-jedi

Required

Install

pip3 install --user jedi --upgrade

And

NeoBundle 'deoplete-plugins/deoplete-jedi'
# or
Plug 'deoplete-plugins/deoplete-jedi'

Note: If you don't want to use a plugin manager, you will need to clone this repo recursively:

git clone --recursive https://github.com/deoplete-plugins/deoplete-jedi

When updating the plugin, you will want to be sure that the Jedi submodule is kept up to date with:

git submodule update --init

Options

  • g:deoplete#sources#jedi#statement_length: Sets the maximum length of completion description text. If this is exceeded, a simple description is used instead. Default: 50
  • g:deoplete#sources#jedi#enable_typeinfo: Enables type information of completions. If you disable it, you will get the faster results. Default: 1
  • g:deoplete#sources#jedi#enable_short_types: Enables short completion types. Default: 0
  • g:deoplete#sources#jedi#short_types_map: Short types mapping dictionary. Default: { 'import': 'imprt', 'function': 'def', 'globalstmt': 'var', 'instance': 'var', 'statement': 'var', 'keyword': 'keywd', 'module': 'mod', 'param': 'arg', 'property': 'prop', 'bytes': 'byte', 'complex': 'cmplx', 'object': 'obj', 'mappingproxy': 'dict', 'member_descriptor': 'cattr', 'getset_descriptor': 'cprop', 'method_descriptor': 'cdef', }
  • g:deoplete#sources#jedi#show_docstring: Shows docstring in preview window. Default: 0
  • g:deoplete#sources#jedi#python_path: Set the Python interpreter path to use for the completion server. It defaults to "python", i.e. the first available python in $PATH. Note: This is different from Neovim's Python (:python) in general.
  • g:deoplete#sources#jedi#extra_path: A list of extra paths to add to sys.path when performing completions.
  • g:deoplete#sources#jedi#ignore_errors: Ignore jedi errors for completions. Default: 1
  • g:deoplete#sources#jedi#ignore_private_members: Ignore private members from completions. Default: 0

Virtual Environments

If you are using virtualenv, it is recommended that you create environments specifically for Neovim. This way, you will not need to install the neovim package in each virtualenv. Once you have created them, add the following to your vimrc file:

let g:python_host_prog = '/full/path/to/neovim2/bin/python'
let g:python3_host_prog = '/full/path/to/neovim3/bin/python'

Deoplete only requires Python 3. See :help provider-python for more information.

deoplete-jedi's People

Contributors

adefossez avatar arkottke avatar blueyed avatar darthshadow avatar gitter-badger avatar hackaugusto avatar heliomeiralins avatar jun-t avatar kanchishimono avatar ma27 avatar mxmul avatar ozelentok avatar sergeant-wizard avatar shougo avatar tony avatar tvestelind avatar tweekmonster avatar yangbeom avatar zchee avatar zhou13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.