Add cape-dict and cape-emoji to capf list

This commit is contained in:
Evie Litherland-Smith 2023-12-24 07:28:05 +00:00
parent 447f738547
commit a8c1af95d6

View file

@ -831,7 +831,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 orderless eglot) :after (vertico orderless)
:custom :custom
(corfu-cycle t) (corfu-cycle t)
(corfu-auto t) (corfu-auto t)
@ -878,9 +878,10 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:ensure t :ensure t
:after (corfu) :after (corfu)
:init :init
(add-to-list 'completion-at-point-functions #'cape-dabbrev) (add-to-list 'completion-at-point-functions #'cape-emoji)
(add-to-list 'completion-at-point-functions #'cape-dict)
(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-elisp-block)) (add-to-list 'completion-at-point-functions #'cape-dabbrev))
#+end_src #+end_src
*** Consult *** Consult