diff options
| author | bors <bors@rust-lang.org> | 2024-07-17 06:54:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-17 06:54:06 +0000 |
| commit | d95ce945431d099655d20da26b7c83c7a77bfc85 (patch) | |
| tree | 67b78e430aecf73d82ed14a0d49d73657d342e70 /src/tools/rust-analyzer/editors/code | |
| parent | 523465a67736edbc09a7a296bfac543e2f764a24 (diff) | |
| parent | 7ef5f46c83a7138056bb223bbbe06cb52274a19b (diff) | |
Auto merge of #17616 - Veykril:config-param-hints, r=Veykril
Fix incorrect generic parameter hint defaults Missed this in the review but we should show const param hints, not lifetime param hints by default
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 9bb132f582d..941b5ff4eb7 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -1914,7 +1914,7 @@ "properties": { "rust-analyzer.inlayHints.genericParameterHints.const.enable": { "markdownDescription": "Whether to show const generic parameter name inlay hints.", - "default": false, + "default": true, "type": "boolean" } } @@ -1924,7 +1924,7 @@ "properties": { "rust-analyzer.inlayHints.genericParameterHints.lifetime.enable": { "markdownDescription": "Whether to show generic lifetime parameter name inlay hints.", - "default": true, + "default": false, "type": "boolean" } } |
