Use =add-to-list= in company mode config

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:32 +00:00
parent 5daa6c0e84
commit 3b150973d9

View File

@ -69,8 +69,7 @@ needs to be set up to install them if they aren't already.
(use-package company (use-package company
:config :config
(add-hook 'after-init-hook 'global-company-mode) (add-hook 'after-init-hook 'global-company-mode)
(setf company-backends (add-to-list 'company-backends 'company-capf))
(cons 'company-capf company-backends)))
#+end_src #+end_src
And enable =ido-mode= everywhere, with flexible matching. And enable =ido-mode= everywhere, with flexible matching.