aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/complete_postfix.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-10 17:39:17 +0000
committerAleksey Kladov <[email protected]>2020-03-10 17:40:22 +0000
commit2347c03dcd717fbc0648c1e4e3d64a886217de5d (patch)
treec778877ddc5e17ee7adca15324fe3f5a417f062a /crates/ra_ide/src/completion/complete_postfix.rs
parent6b9d66bbee865bd4337366f1540f8e5aa8d82c18 (diff)
Introduce CompletionOptions
Diffstat (limited to 'crates/ra_ide/src/completion/complete_postfix.rs')
-rw-r--r--crates/ra_ide/src/completion/complete_postfix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion/complete_postfix.rs b/crates/ra_ide/src/completion/complete_postfix.rs
index 65ecea125..6d000548d 100644
--- a/crates/ra_ide/src/completion/complete_postfix.rs
+++ b/crates/ra_ide/src/completion/complete_postfix.rs
@@ -12,7 +12,7 @@ use crate::{
12}; 12};
13 13
14pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { 14pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
15 if !ctx.db.feature_flags.get("completion.enable-postfix") { 15 if !ctx.options.enable_postfix_completions {
16 return; 16 return;
17 } 17 }
18 18