From 05f55a534e325c4d04b1876ba87270b07713e045 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Wed, 25 Mar 2020 10:05:08 -0400 Subject: [PATCH] Note about deprecating --- README.md | 65 +++---------------------------------------------------- 1 file changed, 3 insertions(+), 62 deletions(-) diff --git a/README.md b/README.md index bf71c51..552beca 100644 --- a/README.md +++ b/README.md @@ -2,67 +2,8 @@ # 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. +This repo is now deprecated. Everything you could have wanted to do here, you can now do in neovim natively (if you download nightly at the time of writing). -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. +Any neovim of 0.5 or greater, just check out `:help lsp` -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: - -```shell -$ 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. - -```vim -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: - -```vim -:LSPStart -``` - -After starting the language server, you should be able to run commands like: - -```vim -:LSPGoto -:LSPHover -``` - -and some more to come. - -More configuration to come... - -## Plans - -- [x] Use vim lsp -- [x] Use sourcegraph/langserver-go to test -- [x] Functions to make messages / message dictionaries quickly in Neovim. -- [ ] Implement various actions in (similar to) this order: - - [x] Initialize - - [x] Shutdown - - [x] textDocument/didOpen - - [x] textDocument/references - - [x] Go to definition: https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#goto-definition-request - - [x] Hover - - [x] Find references: https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#find-references-request - - [ ] Highlights: - - [ ] Completion: - - [ ] Then deoplete source for completion +:grin: