Remove text not specific to vim-lsp

James R 2019-01-18 13:47:53 -07:00 committed by Fangrui Song
parent 8a73bfd928
commit 058203692d

@ -1,9 +1,3 @@
There are several implementations of language server protocol (client side) in Vim.
First, make sure you have `ccls` built following [[Getting Started]] and added to `$PATH` (e.g. via soft link).
## vim-lsp
Install [vim-lsp](https://github.com/prabirshrestha/vim-lsp) following its README. Install [vim-lsp](https://github.com/prabirshrestha/vim-lsp) following its README.
Register ccls by adding the following into your `~/.vimrc` or `~/.vim/vimrc`: Register ccls by adding the following into your `~/.vimrc` or `~/.vim/vimrc`:
@ -35,10 +29,3 @@ nn <silent> <M-l> :LspDocumentSymbol<cr>
``` ```
Now it's good to go! Navigate to a C/C++/... project and test. Make sure you have [compilation database](https://github.com/MaskRay/ccls/wiki/compile_commands.json) in that project. Now it's good to go! Navigate to a C/C++/... project and test. Make sure you have [compilation database](https://github.com/MaskRay/ccls/wiki/compile_commands.json) in that project.
## LanguageClient-neovim
Despite the name, [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim) does support vim besides neovim.
You are welcome to help provide vim spefici details here by editing the wiki. Meantime please refer to the [[Neovim]] page.