attempt
This commit is contained in:
parent
27743d95b1
commit
4c09bc4150
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue