Skip to content

Commit c2157f5

Browse files
bors[bot]Veykril
andauthored
Merge #9118
9118: Document that `addCallArgumentSnippets` requires `addCallParenthesis r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2 parents e5c86ee + d304352 commit c2157f5

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ config_data! {
9292
checkOnSave_overrideCommand: Option<Vec<String>> = "null",
9393

9494
/// Whether to add argument snippets when completing functions.
95+
/// Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
9596
completion_addCallArgumentSnippets: bool = "true",
9697
/// Whether to add parenthesis when completing functions.
9798
completion_addCallParenthesis: bool = "true",

docs/user/generated_config.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ similar option.
119119
+
120120
--
121121
Whether to add argument snippets when completing functions.
122+
Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
122123
--
123124
[[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`)::
124125
+

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@
553553
}
554554
},
555555
"rust-analyzer.completion.addCallArgumentSnippets": {
556-
"markdownDescription": "Whether to add argument snippets when completing functions.",
556+
"markdownDescription": "Whether to add argument snippets when completing functions.\nOnly applies when `#rust-analyzer.completion.addCallParenthesis#` is set.",
557557
"default": true,
558558
"type": "boolean"
559559
},

0 commit comments

Comments
 (0)