squash! fix: Stop inhibiting company popup when not in evil-mode

This commit is contained in:
randy1burrell 2021-01-29 02:35:09 -05:00 committed by James N
parent 315a750576
commit 6b9b8ccded
1 changed files with 1 additions and 2 deletions

View File

@ -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