From 1c0cfd459bc7c2f1bb81603868453030e89910fc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 May 2021 21:49:52 -0400 Subject: [PATCH] Don't invoke company on TAB if company-mode isn't active --- modules/config/default/+evil-bindings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 758572ddc..67432f66f 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -42,7 +42,8 @@ (bound-and-true-p yas-minor-mode) (yas-maybe-expand-abbrev-key-filter 'yas-expand)) #'yas-expand - (featurep! :completion company +tng) + (and (bound-and-true-p company-mode) + (featurep! :completion company +tng)) #'company-indent-or-complete-common) :m [tab] (cmds! (and (bound-and-true-p yas-minor-mode) (evil-visual-state-p)