Skip to content

Commit 80909f7

Browse files
committed
Don't creat public APIs with typos
1 parent 95a2755 commit 80909f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/ra_ide/src/completion/presentation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl Completions {
225225
let snippet = if ctx
226226
.db
227227
.feature_flags
228-
.get("completion.insertion.add-argument-sippets")
228+
.get("completion.insertion.add-argument-snippets")
229229
{
230230
let to_skip = if has_self_param { 1 } else { 0 };
231231
let function_params_snippet = join(

crates/ra_ide_db/src/feature_flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl Default for FeatureFlags {
5454
FeatureFlags::new(&[
5555
("lsp.diagnostics", true),
5656
("completion.insertion.add-call-parenthesis", true),
57-
("completion.insertion.add-argument-sippets", true),
57+
("completion.insertion.add-argument-snippets", true),
5858
("completion.enable-postfix", true),
5959
("call-info.full", true),
6060
("notifications.workspace-loaded", true),

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
"type": "boolean",
198198
"description": "Whether to add parenthesis when completing functions"
199199
},
200-
"completion.insertion.add-argument-sippets": {
200+
"completion.insertion.add-argument-snippets": {
201201
"type": "boolean",
202202
"description": "Whether to add argument snippets when completing functions"
203203
},

0 commit comments

Comments
 (0)