From 875294b8aef07c3acbf28918ab4a7eda219b5860 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 19 Jul 2024 03:07:40 +0400 Subject: [PATCH] fix the emacs configuration --- config/emacs/emacs.org | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 85e795a2..c732c1ce 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -483,23 +483,26 @@ kept-old-versions 5) #+end_src ** Embark #+begin_src emacs-lisp -(use-package embark - :after vertico - :bind (("C-." . embark-act) - ("M-." . embark-dwim) - :map minibuffer-local-map - ("C-d" . embark-act) - :map embark-region-map - ("D" . denote-region)) + (use-package embark + :after vertico + :bind (("C-." . embark-act) + ("M-." . embark-dwim) + :map minibuffer-local-map + ("C-d" . embark-act) + :map embark-region-map + ("D" . denote-region)) - :config - ;; Remove the mixed indicator to prevent the popup from being displayed - ;; automatically - (delete #'embark-mixed-indicator embark-indicators) - (add-to-list 'embark-indicators 'embark-minimal-indicator) + :config + ;; Remove the mixed indicator to prevent the popup from being displayed + ;; automatically + (delete #'embark-mixed-indicator embark-indicators) + (add-to-list 'embark-indicators 'embark-minimal-indicator) - ;; Use Embark to show command prefix help - (setq prefix-help-command #'embark-prefix-help-command)) + ;; Use Embark to show command prefix help + (setq prefix-help-command #'embark-prefix-help-command)) + + (use-package embark-consult + :after embark) #+end_src ** Corfu (Autocomplete)