From 56497ce925e782a260d216ece384ab11057d8aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Thu, 7 Jan 2021 17:06:11 +0200 Subject: Update remaining serverPath references --- docs/dev/README.md | 2 +- docs/user/manual.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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`. For this, it is important to have the following in your `settings.json` file: ```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. 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 Copy the `rust-analyzer-{platform}` binary anywhere, then add the path to your settings.json, for example: [source,json] ---- -{ "rust-analyzer.serverPath": "~/.local/bin/rust-analyzer-linux" } +{ "rust-analyzer.server.path": "~/.local/bin/rust-analyzer-linux" } ---- ==== 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], this extension implements _most_ of the features supported in the VSCode extension: * 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. * inlay hints for variables and method chaining, _Neovim Only_ * semantic highlighting is not implemented yet -- cgit v1.2.3