Merge pull request #2683 from dive/fix_quotes_for_eshell

Fix company-pcomplete error in eshell with quotes
This commit is contained in:
Henrik Lissner 2020-03-08 22:35:42 -04:00 committed by GitHub
commit d609a1a53b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,6 +159,7 @@ You should use `set-eshell-alias!' to change this.")
(defun +eshell-init-company-h () (defun +eshell-init-company-h ()
(when (featurep! :completion company) (when (featurep! :completion company)
(company-mode +1) (company-mode +1)
(setq-local company-idle-delay nil)
(setq-local company-backends '(company-pcomplete)) (setq-local company-backends '(company-pcomplete))
(setq-local company-frontends (cons 'company-tng-frontend company-frontends)) (setq-local company-frontends (cons 'company-tng-frontend company-frontends))
(when (bound-and-true-p evil-local-mode) (when (bound-and-true-p evil-local-mode)