diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index ae78fd4f61..c33cdb7409 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -92,6 +92,7 @@ config_data! { checkOnSave_overrideCommand: Option> = "null", /// Whether to add argument snippets when completing functions. + /// Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set. completion_addCallArgumentSnippets: bool = "true", /// Whether to add parenthesis when completing functions. completion_addCallParenthesis: bool = "true", diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index dbd9a3503b..7f405b4d7a 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -119,6 +119,7 @@ similar option. + -- Whether to add argument snippets when completing functions. +Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set. -- [[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`):: + diff --git a/editors/code/package.json b/editors/code/package.json index 42a06e1374..4a5070d021 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -553,7 +553,7 @@ } }, "rust-analyzer.completion.addCallArgumentSnippets": { - "markdownDescription": "Whether to add argument snippets when completing functions.", + "markdownDescription": "Whether to add argument snippets when completing functions.\nOnly applies when `#rust-analyzer.completion.addCallParenthesis#` is set.", "default": true, "type": "boolean" },