Migrate from straight.el to elpaca.
Idk why, I only can try it. For now the emacs-init-time whas improved.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
(use-package corfu
|
||||
:defer t
|
||||
:straight (corfu :files (:defaults "extensions/*")
|
||||
:elpaca (:files (:defaults "extensions/*")
|
||||
:includes (corfu-info corfu-history))
|
||||
:hook ((after-init . global-corfu-mode)
|
||||
(corfu-mode . corfu-popupinfo-mode))
|
||||
@ -38,14 +38,13 @@
|
||||
|
||||
(use-package orderless
|
||||
:defer t
|
||||
:straight t
|
||||
:config
|
||||
(setq completion-styles '(orderless basic)
|
||||
completion-category-defaults nil
|
||||
completion-category-overrides '((file (styles partial-completion)))))
|
||||
|
||||
(use-package cape
|
||||
:straight (cape :type git :host github :repo "minad/cape")
|
||||
:elpaca (:host github :repo "minad/cape")
|
||||
:after corfu
|
||||
:init
|
||||
;; (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
|
||||
@ -58,7 +57,7 @@
|
||||
;; Hacer que corfu funcione en la terminal
|
||||
(unless (display-graphic-p)
|
||||
(use-package corfu-terminal
|
||||
:straight (corfu-terminal :type git :repo "https://codeberg.org/akib/emacs-corfu-terminal.git")
|
||||
:elpaca (:repo "https://codeberg.org/akib/emacs-corfu-terminal.git")
|
||||
:config
|
||||
(corfu-terminal-mode +1))
|
||||
)
|
||||
@ -66,7 +65,6 @@
|
||||
;; Iconos en corfu
|
||||
(use-package kind-icon
|
||||
:ensure t
|
||||
:straight t
|
||||
:after corfu
|
||||
:custom
|
||||
(kind-icon-default-face 'corfu-default) ; to compute blended backgrounds correctly
|
||||
|
Reference in New Issue
Block a user