aboutsummaryrefslogtreecommitdiff
path: root/docs/user/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user/README.md')
-rw-r--r--docs/user/README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index 9d03cad1c..036b51d58 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -45,7 +45,7 @@ should adapt these manual installation instructions:
45``` 45```
46$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1 46$ git clone https://github.com/rust-analyzer/rust-analyzer.git --depth 1
47$ cd rust-analyzer 47$ cd rust-analyzer
48$ cargo install --path ./crates/ra_lsp_server/ --force 48$ cargo install --path ./crates/ra_lsp_server/ --force --locked
49$ cd ./editors/code 49$ cd ./editors/code
50$ npm install 50$ npm install
51$ ./node_modules/vsce/out/vsce package 51$ ./node_modules/vsce/out/vsce package
@@ -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