Giter Site home page Giter Site logo

davidsu / deoplete.nvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shougo/deoplete.nvim

0.0 1.0 0.0 1.04 MB

:stars: Dark powered asynchronous completion framework for neovim

License: Other

Makefile 0.64% Vim Script 30.95% Python 68.41%

deoplete.nvim's Introduction

deoplete.nvim

Build Status

Join the chat at https://gitter.im/Shougo/deoplete.nvim

Deoplete is the abbreviation of "dark powered neo-completion". It provides an asynchronous keyword completion system in the current buffer. To view the current options, please consult the documentation.

Installation

Note: deoplete requires Neovim(latest is recommended) with Python3 and timers(neovim ver.0.1.5+) enabled. See requirements if you aren't sure whether you have this.

  1. Extract the files and put them in your Neovim directory (usually $XDG_CONFIG_HOME/nvim/).
  2. Execute the :UpdateRemotePlugins and restart Neovim.
  3. Write call deoplete#enable() or let g:deoplete#enable_at_startup = 1 in your init.vim

For vim-plug

Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }

For dein.vim

call dein#add('Shougo/deoplete.nvim')

Requirements

deoplete requires Neovim with if_python3. If :echo has("python3") returns 1, then you're done; otherwise, see below.

You can enable Python3 interface with pip:

pip3 install neovim

Sources

deoplete will display completions via omnifunc by default.

Here are some completion sources specifically made for deoplete.nvim.

Note: deoplete needs neovim-python ver.0.1.8+.

You need update neovim-python module.

pip3 install --upgrade neovim

If you want to read the Neovim-python/python3 interface install documentation, you should read :help provider-python and the Wiki. https://github.com/zchee/deoplete-jedi/wiki/Setting-up-Python-for-Neovim

Note: Python3 must be enabled before updating remote plugins

If Deoplete was installed prior to Python support being added to Neovim, :UpdateRemotePlugins should be executed manually in order to enable auto-completion.

Screenshots

Deoplete for JavaScript https://www.youtube.com/watch?v=oanoPTpiSF4

File Name Completion

Omni Completion

Neosnippets and neco-ghc integration

deoplete + echodoc integration

deoplete + deoplete-go integration

deoplete + deoplete-typescript integration

Python completion using deoplete-jedi

C++ completion using clang_complete

Java completion using vim-javacomplete2

Vim Script completion using neco-vim

Configuration Examples

" Use deoplete.
let g:deoplete#enable_at_startup = 1

deoplete.nvim's People

Contributors

23x23x avatar balta2ar avatar blueyed avatar brcolow avatar brooth avatar callmekohei avatar drzel avatar e-kwsm avatar fmoralesc avatar fszymanski avatar gitter-badger avatar h-michael avatar hnykda avatar hrsh7th avatar mhartington avatar nhooyr avatar pcewing avatar pocari avatar sbdchd avatar shotat avatar shougo avatar standeck avatar tek avatar thalesmello avatar tjdevries avatar tweekmonster avatar wokalski avatar yangbeom avatar zchee avatar zefei avatar

Watchers

 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.