Add alternative setup instruction for vim/neovim

Provide another option hint for vim/neovim users who do not want to run nodejs
This commit is contained in:
Luke Jones 2019-10-05 10:36:30 +13:00
parent 7d1bb35fb1
commit 4bc4cd71b2
No known key found for this signature in database
GPG key ID: 0562944AC278E22C

View file

@ -116,6 +116,22 @@ to load path and require it in `init.el`
[coc-vim-conf]: https://github.com/neoclide/coc.nvim/#example-vim-configuration [coc-vim-conf]: https://github.com/neoclide/coc.nvim/#example-vim-configuration
[coc-rust-analyzer]: https://github.com/fannheyward/coc-rust-analyzer [coc-rust-analyzer]: https://github.com/fannheyward/coc-rust-analyzer
## Vim and NeoVim Alternative
* Install LanguageClient-neovim by following the instructions [here][lang-client-neovim]
- No extra run-time is required as this server is written in Rust
- The github project wiki has extra tips on configuration
* Configure by adding this to your vim/neovim config file (replacing the existing rust specific line if it exists):
```
let g:LanguageClient_serverCommands = {
\ 'rust': ['ra_lsp_server'],
\ }
```
[lang-client-neovim]: https://github.com/autozimu/LanguageClient-neovim
## Sublime Text 3 ## Sublime Text 3