Don't creat public APIs with typos

This commit is contained in:
Aleksey Kladov 2020-03-06 18:38:56 +01:00
parent 95a2755aa8
commit 80909f7698
3 changed files with 3 additions and 3 deletions

View file

@ -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(

View file

@ -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),

View file

@ -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"
}, },