diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-07 15:30:23 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-07 15:30:23 +0000 |
commit | b821264f861be959709aa0e7e87b4c5e1ce335b5 (patch) | |
tree | de8f69f69e33fe22cb6c32070c8dca0d64b1e26c /docs | |
parent | aa9bef07971493e3edd8f9179d05920cbfc8160b (diff) | |
parent | 56497ce925e782a260d216ece384ab11057d8aa4 (diff) |
Merge #7195
7195: Update remaining serverPath references r=lnicola a=lnicola
Fixes https://github.com/rust-analyzer/rust-analyzer/pull/7156#issuecomment-755487667
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/README.md | 2 | ||||
-rw-r--r-- | docs/user/manual.adoc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index 55527bab0..dd2bfc493 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md | |||
@@ -77,7 +77,7 @@ Notably, this uses the usual `rust-analyzer` binary from `PATH`. | |||
77 | For this, it is important to have the following in your `settings.json` file: | 77 | For this, it is important to have the following in your `settings.json` file: |
78 | ```json | 78 | ```json |
79 | { | 79 | { |
80 | "rust-analyzer.serverPath": "rust-analyzer" | 80 | "rust-analyzer.server.path": "rust-analyzer" |
81 | } | 81 | } |
82 | ``` | 82 | ``` |
83 | After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real. | 83 | After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real. |
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 266baffa1..990b11859 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -115,7 +115,7 @@ $ code --install-extension /path/to/rust-analyzer.vsix | |||
115 | Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example: | 115 | Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example: |
116 | [source,json] | 116 | [source,json] |
117 | ---- | 117 | ---- |
118 | { "rust-analyzer.serverPath": "~/.local/bin/rust-analyzer-linux" } | 118 | { "rust-analyzer.server.path": "~/.local/bin/rust-analyzer-linux" } |
119 | ---- | 119 | ---- |
120 | 120 | ||
121 | ==== Building From Source | 121 | ==== Building From Source |
@@ -219,7 +219,7 @@ The are several LSP client implementations for vim or neovim: | |||
219 | https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer], | 219 | https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer], |
220 | this extension implements _most_ of the features supported in the VSCode extension: | 220 | this extension implements _most_ of the features supported in the VSCode extension: |
221 | * automatically install and upgrade stable/nightly releases | 221 | * automatically install and upgrade stable/nightly releases |
222 | * same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.cargo.features` etc. | 222 | * same configurations as VSCode extension, `rust-analyzer.server.path`, `rust-analyzer.cargo.features` etc. |
223 | * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc. | 223 | * same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc. |
224 | * inlay hints for variables and method chaining, _Neovim Only_ | 224 | * inlay hints for variables and method chaining, _Neovim Only_ |
225 | * semantic highlighting is not implemented yet | 225 | * semantic highlighting is not implemented yet |