diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-21 15:15:49 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-21 15:15:49 +0100 |
commit | 25bf451c8426a68ecfdc3a1d1be1db9702dd41d8 (patch) | |
tree | 1d9d6c49faca0c36178d2bf5a6e20de0f88df094 /docs | |
parent | 5567b8a63214ce9bf2d4fdd6b4a8bd9c2c3eded7 (diff) | |
parent | 43098d99ae9ee3d102ce54510d7885bae58e5ac7 (diff) |
Merge #9264
9264: feat: Make documentation on hover configurable r=Veykril a=Veykril
This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`.
Fixes #9232
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/generated_config.adoc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 58cb46974..cc7fdd38f 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -215,6 +215,16 @@ In some editors (e.g. vscode) semantic tokens override other highlighting gramma | |||
215 | By disabling semantic tokens for strings, other grammars can be used to highlight | 215 | By disabling semantic tokens for strings, other grammars can be used to highlight |
216 | their contents. | 216 | their contents. |
217 | -- | 217 | -- |
218 | [[rust-analyzer.hover.documentation]]rust-analyzer.hover.documentation (default: `true`):: | ||
219 | + | ||
220 | -- | ||
221 | Whether to show documentation on hover. | ||
222 | -- | ||
223 | [[rust-analyzer.hover.linksInHover]]rust-analyzer.hover.linksInHover (default: `true`):: | ||
224 | + | ||
225 | -- | ||
226 | Use markdown syntax for links in hover. | ||
227 | -- | ||
218 | [[rust-analyzer.hoverActions.debug]]rust-analyzer.hoverActions.debug (default: `true`):: | 228 | [[rust-analyzer.hoverActions.debug]]rust-analyzer.hoverActions.debug (default: `true`):: |
219 | + | 229 | + |
220 | -- | 230 | -- |
@@ -250,11 +260,6 @@ Whether to show `References` action. Only applies when | |||
250 | Whether to show `Run` action. Only applies when | 260 | Whether to show `Run` action. Only applies when |
251 | `#rust-analyzer.hoverActions.enable#` is set. | 261 | `#rust-analyzer.hoverActions.enable#` is set. |
252 | -- | 262 | -- |
253 | [[rust-analyzer.hoverActions.linksInHover]]rust-analyzer.hoverActions.linksInHover (default: `true`):: | ||
254 | + | ||
255 | -- | ||
256 | Use markdown syntax for links in hover. | ||
257 | -- | ||
258 | [[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`):: | 263 | [[rust-analyzer.inlayHints.chainingHints]]rust-analyzer.inlayHints.chainingHints (default: `true`):: |
259 | + | 264 | + |
260 | -- | 265 | -- |