Don't invoke company on TAB if company-mode isn't active

This commit is contained in:
Henrik Lissner 2021-05-11 21:49:52 -04:00
parent d2426d8442
commit 1c0cfd459b

View file

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