Skip to content

Commit 9bae3ec

Browse files
bors[bot]PSeitz
andauthored
Merge #8246
8246: update vim ycm installation instruction r=Veykril a=PSeitz Fixes rust-analyzer/rust-analyzer.github.io#97 Co-authored-by: PSeitz <[email protected]>
2 parents 35efbf5 + 14a1f0c commit 9bae3ec

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

docs/user/manual.adoc

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -254,23 +254,10 @@ let g:LanguageClient_serverCommands = {
254254

255255
==== YouCompleteMe
256256

257-
1. Install YouCompleteMe by following the instructions
258-
https://github.com/ycm-core/lsp-examples#rust-rust-analyzer[here]
257+
Install YouCompleteMe by following the instructions
258+
https://github.com/ycm-core/YouCompleteMe#installation[here].
259259

260-
2. Configure by adding this to your vim/neovim config file (replacing the existing Rust-specific line if it exists):
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-
----
260+
rust-analyzer is the default in ycm, it should work out of the box.
274261

275262
==== ALE
276263

0 commit comments

Comments
 (0)