From a93d166f0fecb748d8cb04aab7f5406bf6308c2d Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 14 Jun 2021 15:25:10 +0200 Subject: Make documentation on hover configurable --- docs/user/generated_config.adoc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 34a91486b..4105d784f 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -205,6 +205,16 @@ In some editors (e.g. vscode) semantic tokens override other highlighting gramma By disabling semantic tokens for strings, other grammars can be used to highlight their contents. -- +[[rust-analyzer.hover.documentation]]rust-analyzer.hover.documentation (default: `true`):: ++ +-- +Whether to show documentation on hover. +-- +[[rust-analyzer.hover.linksInHover]]rust-analyzer.hover.linksInHover (default: `true`):: ++ +-- +Use markdown syntax for links in hover. +-- [[rust-analyzer.hoverActions.debug]]rust-analyzer.hoverActions.debug (default: `true`):: + -- @@ -240,11 +250,6 @@ Whether to show `References` action. Only applies when Whether to show `Run` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set. -- -[[rust-analyzer.hoverActions.linksInHover]]rust-analyzer.hoverActions.linksInHover (default: `true`):: -+ --- -Use markdown syntax for links in hover. --- [[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`):: + -- -- cgit v1.2.3 From 178b5ffba316164fba86b86a67e9402b226fbc48 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 14 Jun 2021 15:44:32 +0200 Subject: Add configuration deprecation --- docs/user/generated_config.adoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 4105d784f..94a99c1ba 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -250,6 +250,11 @@ Whether to show `References` action. Only applies when Whether to show `Run` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set. -- +[[rust-analyzer.hoverActions.linksInHover]]rust-analyzer.hoverActions.linksInHover (deprecated: `Use hover.linksInHover instead`):: ++ +-- +Use markdown syntax for links in hover. +-- [[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`):: + -- -- cgit v1.2.3 From 43098d99ae9ee3d102ce54510d7885bae58e5ac7 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 21 Jun 2021 16:01:03 +0200 Subject: Remove deprecation support in config --- docs/user/generated_config.adoc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 94a99c1ba..4105d784f 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -250,11 +250,6 @@ Whether to show `References` action. Only applies when Whether to show `Run` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set. -- -[[rust-analyzer.hoverActions.linksInHover]]rust-analyzer.hoverActions.linksInHover (deprecated: `Use hover.linksInHover instead`):: -+ --- -Use markdown syntax for links in hover. --- [[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`):: + -- -- cgit v1.2.3