aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshton Wiersdorf <mail@wiersdorf.dev>2023-09-21 01:13:21 -0600
committerAshton Wiersdorf <mail@wiersdorf.dev>2023-09-21 01:13:21 -0600
commit60cedce041500c4619cbdc18a254f97dfcb23b6f (patch)
tree7b9bb57ab0ab496a4cbec4b01023d2382d0b93c6
parentd7c3127d206b269e0f43c3bd747885a428a8a815 (diff)
Add basic Cape configuration
Closes #7
-rw-r--r--extras/base.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/base.el b/extras/base.el
index f9c5a64..644d01e 100644
--- a/extras/base.el
+++ b/extras/base.el
@@ -118,6 +118,14 @@
:config
(corfu-terminal-mode))
+;; Fancy completion-at-point functions; there's too much in the cape package to
+;; configure here; dive in when you're comfortable!
+(use-package cape
+ :ensure t
+ :init
+ (add-to-list 'completion-at-point-functions #'cape-dabbrev)
+ (add-to-list 'completion-at-point-functions #'cape-file))
+
;; Pretty icons for corfu
(use-package kind-icon
:if (display-graphic-p)