MCPcopy Index your code
hub / github.com/Shougo/deoplete.nvim

github.com/Shougo/deoplete.nvim @6.1 sqlite

repository ↗ · DeepWiki ↗ · release 6.1 ↗
258 symbols 872 edges 47 files 9 documented · 3%
README

deoplete.nvim

Dark powered asynchronous completion framework for neovim/Vim8

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

Please read help for details.

Note: If you need to understand what's different between deoplete and other similar plugins, please read "deoplete-faq" section in the documentation.

Deoplete is the abbreviation of "dark powered neo-completion". It provides an extensible and asynchronous completion framework for neovim/Vim8.

deoplete will display completions via complete() by default.

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

Install

Note: deoplete requires Neovim (0.3.0+ and of course, latest is recommended) or Vim8.1 with Python 3.6.1+ and timers enabled. See requirements if you aren't sure whether you have this.

Note: deoplete requires msgpack package 1.0.0+. Please install/upgrade msgpack package by pip. https://github.com/msgpack/msgpack-python

Note: If you really need to use older msgpack, please use deoplete ver.5.2 instead.

https://github.com/Shougo/deoplete.nvim/releases/tag/5.2

For vim-plug

if has('nvim')
  Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
  Plug 'Shougo/deoplete.nvim'
  Plug 'roxma/nvim-yarp'
  Plug 'roxma/vim-hug-neovim-rpc'
endif
let g:deoplete#enable_at_startup = 1

For dein.vim

call dein#add('Shougo/deoplete.nvim')
if !has('nvim')
  call dein#add('roxma/nvim-yarp')
  call dein#add('roxma/vim-hug-neovim-rpc')
endif
let g:deoplete#enable_at_startup = 1

For manual installation(not recommended)

  1. Extract the files and put them in your Neovim or .vim directory (usually $XDG_CONFIG_HOME/nvim/).

  2. Write call deoplete#enable() or let g:deoplete#enable_at_startup = 1 in your init.vim

Requirements

deoplete requires Neovim or Vim8 with if_python3.

If :echo has("python3") returns 1, then you have python 3 support; otherwise, see below.

You can enable Python3 interface with pip:

pip3 install --user pynvim

Please install nvim-yarp and vim-hug-neovim-rpc for Vim8.

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.

Note: deoplete needs pynvim ver.0.3.0+.

You need update pynvim module.

pip3 install --user --upgrade pynvim

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

Configuration

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

See :help deoplete-options for a complete list of options.

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

C# completion using deoplete-omnisharp

Register/Extract list completions

FSharp completion using deopletefs

Typescript

Javascript

Css, scss, sass

Html

My custom snippets

C++ with cquery lang server

Rust using rls

Ruby dictionary completion

LanguageClient-neovim integration

Core symbols most depended-on inside this repo

get
called by 18
rplugin/python3/deoplete/context.py
error_tb
called by 15
rplugin/python3/deoplete/util.py
debug
called by 12
rplugin/python3/deoplete/logger.py
error
called by 10
rplugin/python3/deoplete/util.py
filter
called by 10
rplugin/python3/deoplete/filter/sorter_rank.py
set_pattern
called by 7
rplugin/python3/deoplete/util.py
_put
called by 6
rplugin/python3/deoplete/parent.py
get_var
called by 6
rplugin/python3/deoplete/base/filter.py

Shape

Method 161
Function 57
Class 40

Languages

Python100%

Modules by API surface

rplugin/python3/deoplete/util.py28 symbols
rplugin/python3/deoplete/child.py24 symbols
rplugin/python3/deoplete/parent.py22 symbols
rplugin/python3/deoplete/logger.py14 symbols
rplugin/python3/deoplete/deoplete.py14 symbols
rplugin/python3/deoplete/__init__.py12 symbols
rplugin/python3/deoplete/base/source.py11 symbols
rplugin/python3/deoplete/source/file.py7 symbols
rplugin/python3/deoplete/context.py7 symbols
test/rplugin/python3/deoplete/test_filter.py6 symbols
rplugin/python3/deoplete/base/filter.py6 symbols
autoload/deoplete/_main.py6 symbols

For agents

$ claude mcp add deoplete.nvim \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact