From 3153a80261877539c11600b09dbb2cb48b670ebc Mon Sep 17 00:00:00 2001 From: PSeitz Date: Mon, 29 Mar 2021 21:31:29 +0200 Subject: update vim ycm installation instruction --- docs/user/manual.adoc | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'docs/user') diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index b1beeb883..a80fdc364 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -255,22 +255,9 @@ let g:LanguageClient_serverCommands = { ==== YouCompleteMe 1. Install YouCompleteMe by following the instructions - https://github.com/ycm-core/lsp-examples#rust-rust-analyzer[here] + https://github.com/ycm-core/YouCompleteMe#installation[here] -2. Configure by adding this to your vim/neovim config file (replacing the existing Rust-specific line if it exists): -+ -[source,vim] ----- -let g:ycm_language_server = -\ [ -\ { -\ 'name': 'rust', -\ 'cmdline': ['rust-analyzer'], -\ 'filetypes': ['rust'], -\ 'project_root_files': ['Cargo.toml'] -\ } -\ ] ----- +rust-analyzer is the default in ycm, it should work out of the box. ==== ALE -- cgit v1.2.3