Skip to content
Shim for the language server protocol developed by Microsoft
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload
doc
docs
plugin
preconfigured
rplugin/python3/deoplete
testing
tests
.gitignore WIP: adding information about default configuration Nov 24, 2016
LICENSE
Makefile Add an ideas progression Oct 25, 2016
README.md Disclaimer about future of project Jun 7, 2017

README.md

nvim-langserver-shim

NOTICE

Hi everyone, Thanks for all the support this plugin has received. If you like it, consider giving feedback and/or help, patches and review to https://github.com/neovim/neovim/pull/6856 , where I'll be working on incorporating this into Neovim.

Once that is merged, I'll probably just delete everything inside the repository (you can go back in history if you'd like it :) ) and point to Neovim's documentation.

Thanks

Old info

Shim for the language server protocol developed by Microsoft. The protocol can be found here: https://github.com/Microsoft/language-server-protocol

Configuration

First you need to install a language server. An example of installing one might be:

$ go get github.com/sourcegraph/go-langserver/langserver/cmd/langserver-go

A more complete set of language servers can be found here: https://github.com/Microsoft/language-server-protocol/wiki/Protocol-Implementations

You will need to put this somewhere that is sourced on startup.

let g:langserver_executables = {
      \ 'go': {
        \ 'name': 'sourcegraph/langserver-go',
        \ 'cmd': ['langserver-go', '-trace', '-logfile', expand('~/Desktop/langserver-go.log')],
        \ },
      \ }

To start the language server, run the command:

:LSPStart

After starting the language server, you should be able to run commands like:

:LSPGoto
:LSPHover

and some more to come.

More configuration to come...

Plans

You can’t perform that action at this time.