1
0
Fork 0

fix(emacs): add cape

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-10-01 11:26:41 -04:00
parent 47e1cfe7c3
commit a83f1a1cd3
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -39,6 +39,12 @@
:init
(global-corfu-mode)
(corfu-popupinfo-mode))
(use-package cape :straight t
:bind ("M-p" . cape-prefix-map)
:init
(add-hook 'completion-at-point-functions #'cape-dabbrev)
(add-hook 'completion-at-point-functions #'cape-file)
(add-hook 'completion-at-point-functions #'cape-elisp-block))
(use-package vertico :straight t
:init
(add-hook 'after-init-hook 'vertico-mode))