Skip to content

Commit d79a699

Browse files
bors[bot]lnicola
andauthored
Merge #4236
4236: Document Gnome Builder support r=matklad a=lnicola Closes #3758. CC @gwutz Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 parents 8d02b24 + c185e48 commit d79a699

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/user/readme.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ let g:LanguageClient_serverCommands = {
201201

202202
2. Configure by adding this to your vim/neovim config file (replacing the existing Rust-specific line if it exists):
203203
+
204-
[source,vim]
204+
[source,vim]
205205
----
206206
let g:ycm_language_server =
207207
\ [
@@ -252,6 +252,15 @@ If it worked, you should see "rust-analyzer, Line X, Column Y" on the left side
252252

253253
If you get an error saying `No such file or directory: 'rust-analyzer'`, see the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>> section on installing the language server binary.
254254

255+
=== Gnome Builder
256+
257+
Prerequisites: You have installed the <<rust-analyzer-language-server-binary,`rust-analyzer` binary>>.
258+
259+
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.
260+
261+
1. Rename, symlink or copy the `rust-analyzer` binary to `rls` and place it somewhere Builder can find (in `PATH`, or under `~/.cargo/bin`).
262+
2. Enable the Rust Builder plugin.
263+
255264
== Usage
256265

257266
See https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md[features.md].

0 commit comments

Comments
 (0)