require company in eshell-switch-company-frontend

This commit is contained in:
Benjamin Reynolds 2017-08-11 12:15:07 -05:00 committed by bmag
parent a53cd6062e
commit 849d8b9f60

View file

@ -86,6 +86,7 @@ the user activate the completion manually."
(defun spacemacs//eshell-switch-company-frontend ()
"Sets the company frontend to `company-preview-frontend' in e-shell mode."
(require 'company)
(setq-local company-frontends '(company-preview-frontend)))
(defun spacemacs//eshell-auto-end ()