about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-clojure.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-10-02 16:08:19 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-10-02 16:08:19 +0100
commit3213bca945da42e33808195155629f33bd694bc9 (patch)
treee834d9b05201c56419633a397c448b6cbd63a940 /.emacs.d/lisp/init-clojure.el
parentfc4fca82c97c01e99b9573c3fb88e76306045ce2 (diff)
downloaddotfiles-3213bca945da42e33808195155629f33bd694bc9.tar.gz
Add cape-dabbrev to clojure capf function
Diffstat (limited to '.emacs.d/lisp/init-clojure.el')
-rw-r--r--.emacs.d/lisp/init-clojure.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-clojure.el b/.emacs.d/lisp/init-clojure.el
index 8b722aa..6d2ca3b 100644
--- a/.emacs.d/lisp/init-clojure.el
+++ b/.emacs.d/lisp/init-clojure.el
@@ -28,7 +28,8 @@
       ("st" "#spy/t")))
 
   (defalias 'cape-clojure (cape-capf-super #'cider-complete-at-point
-                                           #'lsp-completion-at-point))
+                                           #'lsp-completion-at-point
+                                           #'cape-dabbrev))
   (defun set-clojure-capf ()
     (add-hook 'completion-at-point-functions #'cape-clojure -99 t))