summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandy1burrell <randy1burrell@yahoo.com>2021-01-29 02:35:09 -0500
committerJames N <james@jojojames.com>2021-01-28 23:44:33 -0800
commit6b9b8ccdedae94a082a54b0dffa676707abd0df4 (patch)
tree1a2c74102ecf756f97b4b08d520754a61387a385
parent315a750576d543b58f32b50a91840339985bb1c0 (diff)
squash! fix: Stop inhibiting company popup when not in evil-mode
-rw-r--r--modes/company/evil-collection-company.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/modes/company/evil-collection-company.el b/modes/company/evil-collection-company.el
index 442ce34..008eb76 100644
--- a/modes/company/evil-collection-company.el
+++ b/modes/company/evil-collection-company.el
@@ -63,8 +63,7 @@ be set through custom or before evil-collection loads."
"Return non-nil if `evil-state' is in supported states."
(cond
((not (bound-and-true-p evil-mode)) t)
- ((eq command 'prefix)
- (and (bound-and-true-p evil-mode) (memq evil-state evil-collection-company-supported-states)))
+ ((eq command 'prefix) (memq evil-state evil-collection-company-supported-states))
(t t)))
;;;###autoload