diff --git a/vim-lsp.md b/vim-lsp.md index e017052..8c814ea 100644 --- a/vim-lsp.md +++ b/vim-lsp.md @@ -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. Register ccls by adding the following into your `~/.vimrc` or `~/.vim/vimrc`: @@ -34,11 +28,4 @@ nn :LspWorkspaceSymbol nn :LspDocumentSymbol ``` -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. \ No newline at end of file +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. \ No newline at end of file