From c185e482e9bfee7fc1c0c3c9b5f58ca64d968349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Fri, 1 May 2020 11:20:58 +0300 Subject: Document Gnome Builder support --- docs/user/readme.adoc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc index 4cb1e23e8..b1af72ce6 100644 --- a/docs/user/readme.adoc +++ b/docs/user/readme.adoc @@ -201,7 +201,7 @@ let g:LanguageClient_serverCommands = { 2. Configure by adding this to your vim/neovim config file (replacing the existing Rust-specific line if it exists): + -[source,vim] +[source,vim] ---- let g:ycm_language_server = \ [ @@ -252,6 +252,15 @@ If it worked, you should see "rust-analyzer, Line X, Column Y" on the left side If you get an error saying `No such file or directory: 'rust-analyzer'`, see the <> section on installing the language server binary. +=== Gnome Builder + +Prerequisites: You have installed the <>. + +Gnome Builder currently has support for RLS, and there's no way to configure the language server executable. A future version might support `rust-analyzer` out of the box. + +1. Rename, symlink or copy the `rust-analyzer` binary to `rls` and place it somewhere Builder can find (in `PATH`, or under `~/.cargo/bin`). +2. Enable the Rust Builder plugin. + == Usage See https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md[features.md]. -- cgit v1.2.3