From 4caf3100a83325d96bc47d2e621356e2e716df4c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 22 Nov 2021 23:07:32 -0600 Subject: Add cape --- init.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index abd40fe..a9da4d4 100644 --- a/init.el +++ b/init.el @@ -135,6 +135,17 @@ (:when-loaded (setf (alist-get ?. avy-dispatch-alist) 'avy-action-embark))) +(setup (:straight (cape :host github :repo "minad/cape")) + (dolist (fn '(;; All available cape capfs listed here. + cape-file-capf + cape-dabbrev-capf + cape-keyword-capf + ;;cape-abbrev-capf + ;;cape-ispell-capf + ;;cape-dict-capf + )) + (add-to-list 'completion-at-point-functions fn))) + (setup (:straight (capf-autosuggest :repo "https://repo.or.cz/emacs-capf-autosuggest.git")) (:hook-into eshell-mode -- cgit 1.4.1-21-gabe81