Add note about neovim's built in language server

This commit is contained in:
Ashkan Kiani 2019-11-23 01:58:13 -08:00 committed by GitHub
parent 9da07a07eb
commit 8d02df93d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,6 +132,11 @@ to load path and require it in `init.el`
## Vim and NeoVim ## Vim and NeoVim
Neovim 0.5 has a built in language server. For a quick start configuration of
rust-analyzer, use [neovim/nvim-lsp](https://github.com/neovim/nvim-lsp).
Once `neovim/nvim-lsp` is installed, you can use `call nvim_lsp#setup("rust_analyzer", {})`
or `lua require'nvim_lsp'.rust_analyzer.setup({})` to quickly get set up.
* Install coc.nvim by following the instructions at [coc.nvim] * Install coc.nvim by following the instructions at [coc.nvim]
- You will need nodejs installed. - You will need nodejs installed.
- You may want to include some of the sample vim configurations [from here][coc-vim-conf] - You may want to include some of the sample vim configurations [from here][coc-vim-conf]