From 3153a80261877539c11600b09dbb2cb48b670ebc Mon Sep 17 00:00:00 2001 From: PSeitz Date: Mon, 29 Mar 2021 21:31:29 +0200 Subject: [PATCH 1/2] update vim ycm installation instruction --- docs/user/manual.adoc | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index b1beeb8838..a80fdc364c 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 From 14a1f0ce46841e75db5f4f245f1ffe5355ce65fe Mon Sep 17 00:00:00 2001 From: PSeitz Date: Mon, 29 Mar 2021 22:09:04 +0200 Subject: [PATCH 2/2] remove enumeration --- docs/user/manual.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index a80fdc364c..e74b287fb7 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -254,8 +254,8 @@ let g:LanguageClient_serverCommands = { ==== YouCompleteMe -1. Install YouCompleteMe by following the instructions - https://github.com/ycm-core/YouCompleteMe#installation[here] +Install YouCompleteMe by following the instructions + https://github.com/ycm-core/YouCompleteMe#installation[here]. rust-analyzer is the default in ycm, it should work out of the box.