summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-11-22 23:07:32 -0600
committerCase Duckworth2021-11-22 23:07:32 -0600
commit4caf3100a83325d96bc47d2e621356e2e716df4c (patch)
treeeca3c2af7edfd599a53ca8af54ddddc8c49aa9c2
parentI DECLARE BANKRUPTCY ... 8 (diff)
downloademacs-4caf3100a83325d96bc47d2e621356e2e716df4c.tar.gz
emacs-4caf3100a83325d96bc47d2e621356e2e716df4c.zip
Add cape
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index abd40fe..a9da4d4 100644 --- a/init.el +++ b/init.el
@@ -135,6 +135,17 @@
135 (:when-loaded 135 (:when-loaded
136 (setf (alist-get ?. avy-dispatch-alist) 'avy-action-embark))) 136 (setf (alist-get ?. avy-dispatch-alist) 'avy-action-embark)))
137 137
138(setup (:straight (cape :host github :repo "minad/cape"))
139 (dolist (fn '(;; All available cape capfs listed here.
140 cape-file-capf
141 cape-dabbrev-capf
142 cape-keyword-capf
143 ;;cape-abbrev-capf
144 ;;cape-ispell-capf
145 ;;cape-dict-capf
146 ))
147 (add-to-list 'completion-at-point-functions fn)))
148
138(setup (:straight (capf-autosuggest 149(setup (:straight (capf-autosuggest
139 :repo "https://repo.or.cz/emacs-capf-autosuggest.git")) 150 :repo "https://repo.or.cz/emacs-capf-autosuggest.git"))
140 (:hook-into eshell-mode 151 (:hook-into eshell-mode