aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorIvan Tham2021-10-16 13:57:41 +0000
committerGitHub2021-10-16 13:57:41 +0000
commit89707a858f593c99d44af173e9fb2c0d72b8697e (patch)
tree332900f724f508ff21a0b7b2ea7c3ff4fb206433 /helix-term
parent2c0468ffd16de1f835ac9c4e39692a682273fb7b (diff)
Make auto-completion a config (#853)
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index b3fa79ee..0e7d0e55 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -238,7 +238,7 @@ impl Application {
use crate::commands::{completion, Context};
use helix_view::document::Mode;
- if doc_mut!(self.editor).mode != Mode::Insert {
+ if doc_mut!(self.editor).mode != Mode::Insert || !self.config.editor.auto_completion {
return;
}
let editor_view = self