From 3213bca945da42e33808195155629f33bd694bc9 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 2 Oct 2024 16:08:19 +0100 Subject: Add cape-dabbrev to clojure capf function --- .emacs.d/lisp/init-clojure.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-clojure.el') 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)) -- cgit 1.4.1-2-gfad0