This commit is contained in:
Sakooooo 2024-07-31 01:15:47 +04:00
parent 27743d95b1
commit 4c09bc4150
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -550,7 +550,7 @@ kept-old-versions 5)
:after embark) :after embark)
#+end_src #+end_src
** Corfu (Autocomplete) ** Corfu
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package corfu (use-package corfu
:bind (:map corfu-map :bind (:map corfu-map
@ -568,7 +568,7 @@ kept-old-versions 5)
(corfu-min-chars 1) (corfu-min-chars 1)
:config :config
(global-corfu-mode 1) (global-corfu-mode 1)
(defun corfu-enable-in-minibuffer () (defun corfu-enable-in-minibuffer ()
"Enable Corfu in the minibuffer if `completion-at-point' is bound." "Enable Corfu in the minibuffer if `completion-at-point' is bound."
(when (where-is-internal #'completion-at-point (list (current-local-map))) (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)) (add-hook 'minibuffer-setup-hook #'corfu-enable-in-minibuffer))
#+end_src #+end_src
** Cape
#+begin_src emacs-lisp
(use-package cape
:init
(advice-add 'eglot-completion-at-point :around #'cape-wrap-buster))
#+end_src
** Dashboard ** Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard