Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/user/generated_config.adoc')
| -rw-r--r-- | docs/user/generated_config.adoc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 88dcacfe83..f7a533c7c2 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -146,7 +146,12 @@ Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set. -- Whether to add parenthesis when completing functions. -- -[[rust-analyzer.completion.snippets]]rust-analyzer.completion.snippets (default: `{ +[[rust-analyzer.completion.snippets]]rust-analyzer.completion.snippets:: ++ +-- +Default: +---- +{ "Arc::new": { "postfix": "arc", "body": "Arc::new(${receiver})", @@ -186,10 +191,10 @@ Whether to add parenthesis when completing functions. "description": "Wrap the expression in an `Option::Some`", "scope": "expr" } - }`):: -+ --- + } +---- Custom completion snippets. + -- [[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`):: + |