mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Don't creat public APIs with typos
This commit is contained in:
parent
95a2755aa8
commit
80909f7698
3 changed files with 3 additions and 3 deletions
|
@ -225,7 +225,7 @@ impl Completions {
|
|||
let snippet = if ctx
|
||||
.db
|
||||
.feature_flags
|
||||
.get("completion.insertion.add-argument-sippets")
|
||||
.get("completion.insertion.add-argument-snippets")
|
||||
{
|
||||
let to_skip = if has_self_param { 1 } else { 0 };
|
||||
let function_params_snippet = join(
|
||||
|
|
|
@ -54,7 +54,7 @@ impl Default for FeatureFlags {
|
|||
FeatureFlags::new(&[
|
||||
("lsp.diagnostics", true),
|
||||
("completion.insertion.add-call-parenthesis", true),
|
||||
("completion.insertion.add-argument-sippets", true),
|
||||
("completion.insertion.add-argument-snippets", true),
|
||||
("completion.enable-postfix", true),
|
||||
("call-info.full", true),
|
||||
("notifications.workspace-loaded", true),
|
||||
|
|
|
@ -197,7 +197,7 @@
|
|||
"type": "boolean",
|
||||
"description": "Whether to add parenthesis when completing functions"
|
||||
},
|
||||
"completion.insertion.add-argument-sippets": {
|
||||
"completion.insertion.add-argument-snippets": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to add argument snippets when completing functions"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue