Set sensible ordering of corfu and cape loading

This commit is contained in:
Evie Litherland-Smith 2023-12-13 08:56:14 +00:00
parent 01d599480f
commit 4fc03764c6

View file

@ -690,6 +690,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package corfu (use-package corfu
:ensure t :ensure t
:after vertico
:custom :custom
(corfu-cycle t) (corfu-cycle t)
(corfu-auto t) (corfu-auto t)
@ -735,6 +736,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(use-package cape (use-package cape
:ensure t :ensure t
:after corfu
:config :config
(add-to-list 'completion-at-point-functions #'cape-file) (add-to-list 'completion-at-point-functions #'cape-file)
(add-to-list 'completion-at-point-functions #'cape-dabbrev) (add-to-list 'completion-at-point-functions #'cape-dabbrev)