Python Shell Vim script Other
Latest commit 810782c Feb 25, 2017 @autozimu Fix alive() return value when calling from vimscript.
Also, toggle the default warn value.

README.md

LanguageClient-neovim

Build Status

Language Server Protocol support for neovim.

rename

More recordings at https://github.com/autozimu/images/tree/master/LanguageClient-neovim.

Features

(Note: Most of the functionality are provided by language servers. Specific language servers may implement only a subset of the features, see http://langserver.org, in which case, featured listed above may not fully functional.)

Quick Start

Using vim-plug:

Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
" Optional dependency for symbol selection
Plug 'junegunn/fzf'
" Optional dependency for completion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }

Example configuration

" Required for operations modifying multiple buffers like rename.
set hidden

let g:LanguageClient_serverCommands = {
    \ 'rust': ['cargo', 'run', '--release', '--manifest-path=/opt/rls/Cargo.toml'],
    \ }

nnoremap <silent> K :call LanguageClient_textDocument_hover()<CR>
nnoremap <silent> gd :call LanguageClient_textDocument_definition()<CR>
nnoremap <silent> <F2> :call LanguageClient_textDocument_rename()<CR>

Run command LanguageClientStart inside neovim to get start.

Language Servers

Please see http://langserver.org.

Documentation

LanguageClient.txt