diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/manual.adoc | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index b1beeb883..e74b287fb 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -254,23 +254,10 @@ let g:LanguageClient_serverCommands = { | |||
254 | 254 | ||
255 | ==== YouCompleteMe | 255 | ==== YouCompleteMe |
256 | 256 | ||
257 | 1. Install YouCompleteMe by following the instructions | 257 | Install YouCompleteMe by following the instructions |
258 | https://github.com/ycm-core/lsp-examples#rust-rust-analyzer[here] | 258 | https://github.com/ycm-core/YouCompleteMe#installation[here]. |
259 | 259 | ||
260 | 2. Configure by adding this to your vim/neovim config file (replacing the existing Rust-specific line if it exists): | 260 | rust-analyzer is the default in ycm, it should work out of the box. |
261 | + | ||
262 | [source,vim] | ||
263 | ---- | ||
264 | let g:ycm_language_server = | ||
265 | \ [ | ||
266 | \ { | ||
267 | \ 'name': 'rust', | ||
268 | \ 'cmdline': ['rust-analyzer'], | ||
269 | \ 'filetypes': ['rust'], | ||
270 | \ 'project_root_files': ['Cargo.toml'] | ||
271 | \ } | ||
272 | \ ] | ||
273 | ---- | ||
274 | 261 | ||
275 | ==== ALE | 262 | ==== ALE |
276 | 263 | ||