aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-04 22:51:44 +0100
committerGitHub <[email protected]>2019-10-04 22:51:44 +0100
commitcce32719cf140550350c84aa7f006080615a31d6 (patch)
tree3de252e41ed55ef4042ed34b55a6b771b5a1a528
parent7359bb94a8fc135d3ee9ce8937031e09e1d2219b (diff)
parent4bc4cd71b201f2e5e455c9c7d14bb21179c28ce0 (diff)
Merge #1957
1957: Add alternative setup instruction for vim/neovim r=matklad a=Luke-Nukem Provide another option hint for vim/neovim users who do not want to run nodejs Co-authored-by: Luke Jones <[email protected]>
-rw-r--r--docs/user/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index 9d03cad1c..44d6ee739 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -116,6 +116,22 @@ to load path and require it in `init.el`
116[coc-vim-conf]: https://github.com/neoclide/coc.nvim/#example-vim-configuration 116[coc-vim-conf]: https://github.com/neoclide/coc.nvim/#example-vim-configuration
117[coc-rust-analyzer]: https://github.com/fannheyward/coc-rust-analyzer 117[coc-rust-analyzer]: https://github.com/fannheyward/coc-rust-analyzer
118 118
119## Vim and NeoVim Alternative
120
121* Install LanguageClient-neovim by following the instructions [here][lang-client-neovim]
122 - No extra run-time is required as this server is written in Rust
123 - The github project wiki has extra tips on configuration
124
125* Configure by adding this to your vim/neovim config file (replacing the existing rust specific line if it exists):
126
127```
128let g:LanguageClient_serverCommands = {
129\ 'rust': ['ra_lsp_server'],
130\ }
131```
132
133[lang-client-neovim]: https://github.com/autozimu/LanguageClient-neovim
134
119 135
120## Sublime Text 3 136## Sublime Text 3
121 137