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 /editors/code | |
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 'editors/code')
-rw-r--r-- | editors/code/package.json | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index b20a39a95..666016ae4 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -655,6 +655,16 @@ | |||
655 | "default": true, | 655 | "default": true, |
656 | "type": "boolean" | 656 | "type": "boolean" |
657 | }, | 657 | }, |
658 | "rust-analyzer.hover.documentation": { | ||
659 | "markdownDescription": "Whether to show documentation on hover.", | ||
660 | "default": true, | ||
661 | "type": "boolean" | ||
662 | }, | ||
663 | "rust-analyzer.hover.linksInHover": { | ||
664 | "markdownDescription": "Use markdown syntax for links in hover.", | ||
665 | "default": true, | ||
666 | "type": "boolean" | ||
667 | }, | ||
658 | "rust-analyzer.hoverActions.debug": { | 668 | "rust-analyzer.hoverActions.debug": { |
659 | "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", | 669 | "markdownDescription": "Whether to show `Debug` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
660 | "default": true, | 670 | "default": true, |
@@ -685,11 +695,6 @@ | |||
685 | "default": true, | 695 | "default": true, |
686 | "type": "boolean" | 696 | "type": "boolean" |
687 | }, | 697 | }, |
688 | "rust-analyzer.hoverActions.linksInHover": { | ||
689 | "markdownDescription": "Use markdown syntax for links in hover.", | ||
690 | "default": true, | ||
691 | "type": "boolean" | ||
692 | }, | ||
693 | "rust-analyzer.inlayHints.chainingHints": { | 698 | "rust-analyzer.inlayHints.chainingHints": { |
694 | "markdownDescription": "Whether to show inlay type hints for method chains.", | 699 | "markdownDescription": "Whether to show inlay type hints for method chains.", |
695 | "default": true, | 700 | "default": true, |