From 60cedce041500c4619cbdc18a254f97dfcb23b6f Mon Sep 17 00:00:00 2001 From: Ashton Wiersdorf <mail@wiersdorf.dev> Date: Thu, 21 Sep 2023 01:13:21 -0600 Subject: Add basic Cape configuration Closes #7 --- extras/base.el | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- cgit v1.2.3