mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Remove text not specific to vim-lsp
parent
8a73bfd928
commit
058203692d
15
vim-lsp.md
15
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 <silent> <M-a> :LspWorkspaceSymbol<cr>
|
||||
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.
|
||||
|
||||
|
||||
## 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.
|
||||
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.
|
Loading…
Reference in New Issue
Block a user