From 4c09bc4150f8787703df0422ded2b05fb3b8dad6 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 31 Jul 2024 01:15:47 +0400 Subject: [PATCH] attempt --- config/emacs/emacs.org | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index bd30ee80..dbeb5a28 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -550,7 +550,7 @@ kept-old-versions 5) :after embark) #+end_src -** Corfu (Autocomplete) +** Corfu #+begin_src emacs-lisp (use-package corfu :bind (:map corfu-map @@ -568,7 +568,7 @@ kept-old-versions 5) (corfu-min-chars 1) :config (global-corfu-mode 1) - + (defun corfu-enable-in-minibuffer () "Enable Corfu in the minibuffer if `completion-at-point' is bound." (when (where-is-internal #'completion-at-point (list (current-local-map))) @@ -579,6 +579,12 @@ kept-old-versions 5) (add-hook 'minibuffer-setup-hook #'corfu-enable-in-minibuffer)) #+end_src +** Cape +#+begin_src emacs-lisp + (use-package cape + :init + (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)) +#+end_src ** Dashboard #+begin_src emacs-lisp (use-package dashboard