diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/completion/presentation.rs | 2 | ||||
-rw-r--r-- | crates/ra_ide_db/src/feature_flags.rs | 2 |
2 files changed, 2 insertions, 2 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), |