mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
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 <lnicola@dend.ro>
This commit is contained in:
commit
b821264f86
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ Notably, this uses the usual `rust-analyzer` binary from `PATH`.
|
||||||
For this, it is important to have the following in your `settings.json` file:
|
For this, it is important to have the following in your `settings.json` file:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"rust-analyzer.serverPath": "rust-analyzer"
|
"rust-analyzer.server.path": "rust-analyzer"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real.
|
After I am done with the fix, I use `cargo xtask install --client` to try the new extension for real.
|
||||||
|
|
|
@ -115,7 +115,7 @@ $ code --install-extension /path/to/rust-analyzer.vsix
|
||||||
Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example:
|
Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example:
|
||||||
[source,json]
|
[source,json]
|
||||||
----
|
----
|
||||||
{ "rust-analyzer.serverPath": "~/.local/bin/rust-analyzer-linux" }
|
{ "rust-analyzer.server.path": "~/.local/bin/rust-analyzer-linux" }
|
||||||
----
|
----
|
||||||
|
|
||||||
==== Building From Source
|
==== Building From Source
|
||||||
|
@ -219,7 +219,7 @@ The are several LSP client implementations for vim or neovim:
|
||||||
https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer],
|
https://github.com/fannheyward/coc-rust-analyzer[coc-rust-analyzer],
|
||||||
this extension implements _most_ of the features supported in the VSCode extension:
|
this extension implements _most_ of the features supported in the VSCode extension:
|
||||||
* automatically install and upgrade stable/nightly releases
|
* automatically install and upgrade stable/nightly releases
|
||||||
* same configurations as VSCode extension, `rust-analyzer.serverPath`, `rust-analyzer.cargo.features` etc.
|
* same configurations as VSCode extension, `rust-analyzer.server.path`, `rust-analyzer.cargo.features` etc.
|
||||||
* same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc.
|
* same commands too, `rust-analyzer.analyzerStatus`, `rust-analyzer.ssr` etc.
|
||||||
* inlay hints for variables and method chaining, _Neovim Only_
|
* inlay hints for variables and method chaining, _Neovim Only_
|
||||||
* semantic highlighting is not implemented yet
|
* semantic highlighting is not implemented yet
|
||||||
|
|
Loading…
Reference in a new issue