aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-06 17:38:56 +0000
committerAleksey Kladov <[email protected]>2020-03-06 17:38:56 +0000
commit80909f7698edd972e7bb7e3b255c9a12d78cd9a6 (patch)
treec6433fc26f3557a358696f7b66734ce4688fa988
parent95a2755aa80aaf9119e172f6b2a61eeb04653eba (diff)
Don't creat public APIs with typos
-rw-r--r--crates/ra_ide/src/completion/presentation.rs2
-rw-r--r--crates/ra_ide_db/src/feature_flags.rs2
-rw-r--r--editors/code/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/completion/presentation.rs b/crates/ra_ide/src/completion/presentation.rs
index d6196a5ce..aada4d025 100644
--- a/crates/ra_ide/src/completion/presentation.rs
+++ b/crates/ra_ide/src/completion/presentation.rs
@@ -225,7 +225,7 @@ impl Completions {
225 let snippet = if ctx 225 let snippet = if ctx
226 .db 226 .db
227 .feature_flags 227 .feature_flags
228 .get("completion.insertion.add-argument-sippets") 228 .get("completion.insertion.add-argument-snippets")
229 { 229 {
230 let to_skip = if has_self_param { 1 } else { 0 }; 230 let to_skip = if has_self_param { 1 } else { 0 };
231 let function_params_snippet = join( 231 let function_params_snippet = join(
diff --git a/crates/ra_ide_db/src/feature_flags.rs b/crates/ra_ide_db/src/feature_flags.rs
index 74a3a1cd9..968415072 100644
--- a/crates/ra_ide_db/src/feature_flags.rs
+++ b/crates/ra_ide_db/src/feature_flags.rs
@@ -54,7 +54,7 @@ impl Default for FeatureFlags {
54 FeatureFlags::new(&[ 54 FeatureFlags::new(&[
55 ("lsp.diagnostics", true), 55 ("lsp.diagnostics", true),
56 ("completion.insertion.add-call-parenthesis", true), 56 ("completion.insertion.add-call-parenthesis", true),
57 ("completion.insertion.add-argument-sippets", true), 57 ("completion.insertion.add-argument-snippets", true),
58 ("completion.enable-postfix", true), 58 ("completion.enable-postfix", true),
59 ("call-info.full", true), 59 ("call-info.full", true),
60 ("notifications.workspace-loaded", true), 60 ("notifications.workspace-loaded", true),
diff --git a/editors/code/package.json b/editors/code/package.json
index f1ed51d1b..3a1e6cf23 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -197,7 +197,7 @@
197 "type": "boolean", 197 "type": "boolean",
198 "description": "Whether to add parenthesis when completing functions" 198 "description": "Whether to add parenthesis when completing functions"
199 }, 199 },
200 "completion.insertion.add-argument-sippets": { 200 "completion.insertion.add-argument-snippets": {
201 "type": "boolean", 201 "type": "boolean",
202 "description": "Whether to add argument snippets when completing functions" 202 "description": "Whether to add argument snippets when completing functions"
203 }, 203 },