diff --git a/crates/ra_ide/src/completion/presentation.rs b/crates/ra_ide/src/completion/presentation.rs
index 25aff329edf..3dc56e4a3d8 100644
--- a/crates/ra_ide/src/completion/presentation.rs
+++ b/crates/ra_ide/src/completion/presentation.rs
@@ -104,10 +104,7 @@ impl Completions {
};
// Add `<>` for generic types
- if ctx.is_path_type
- && !ctx.has_type_args
- && ctx.db.feature_flags.get("completion.insertion.add-call-parenthesis")
- {
+ if ctx.is_path_type && !ctx.has_type_args && ctx.options.add_call_parenthesis {
let has_non_default_type_params = match resolution {
ScopeDef::ModuleDef(Adt(it)) => it.has_non_default_type_params(ctx.db),
ScopeDef::ModuleDef(TypeAlias(it)) => it.has_non_default_type_params(ctx.db),
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs
index 0d91ea74978..d888bb7454c 100644
--- a/crates/ra_ide/src/lib.rs
+++ b/crates/ra_ide/src/lib.rs
@@ -450,17 +450,12 @@ impl Analysis {
}
/// Computes completions at the given position.
- pub fn completions(&self, position: FilePosition) -> Cancelable