mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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
|
let snippet = if ctx
|
||||||
.db
|
.db
|
||||||
.feature_flags
|
.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 to_skip = if has_self_param { 1 } else { 0 };
|
||||||
let function_params_snippet = join(
|
let function_params_snippet = join(
|
||||||
|
|
|
@ -54,7 +54,7 @@ impl Default for FeatureFlags {
|
||||||
FeatureFlags::new(&[
|
FeatureFlags::new(&[
|
||||||
("lsp.diagnostics", true),
|
("lsp.diagnostics", true),
|
||||||
("completion.insertion.add-call-parenthesis", true),
|
("completion.insertion.add-call-parenthesis", true),
|
||||||
("completion.insertion.add-argument-sippets", true),
|
("completion.insertion.add-argument-snippets", true),
|
||||||
("completion.enable-postfix", true),
|
("completion.enable-postfix", true),
|
||||||
("call-info.full", true),
|
("call-info.full", true),
|
||||||
("notifications.workspace-loaded", true),
|
("notifications.workspace-loaded", true),
|
||||||
|
|
|
@ -197,7 +197,7 @@
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether to add parenthesis when completing functions"
|
"description": "Whether to add parenthesis when completing functions"
|
||||||
},
|
},
|
||||||
"completion.insertion.add-argument-sippets": {
|
"completion.insertion.add-argument-snippets": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Whether to add argument snippets when completing functions"
|
"description": "Whether to add argument snippets when completing functions"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue