mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #9118
9118: Document that `addCallArgumentSnippets` requires `addCallParenthesis r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
commit
c2157f5f96
@ -92,6 +92,7 @@ config_data! {
|
|||||||
checkOnSave_overrideCommand: Option<Vec<String>> = "null",
|
checkOnSave_overrideCommand: Option<Vec<String>> = "null",
|
||||||
|
|
||||||
/// Whether to add argument snippets when completing functions.
|
/// Whether to add argument snippets when completing functions.
|
||||||
|
/// Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
|
||||||
completion_addCallArgumentSnippets: bool = "true",
|
completion_addCallArgumentSnippets: bool = "true",
|
||||||
/// Whether to add parenthesis when completing functions.
|
/// Whether to add parenthesis when completing functions.
|
||||||
completion_addCallParenthesis: bool = "true",
|
completion_addCallParenthesis: bool = "true",
|
||||||
|
@ -119,6 +119,7 @@ similar option.
|
|||||||
+
|
+
|
||||||
--
|
--
|
||||||
Whether to add argument snippets when completing functions.
|
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`)::
|
[[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`)::
|
||||||
+
|
+
|
||||||
|
@ -553,7 +553,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer.completion.addCallArgumentSnippets": {
|
"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,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user