Replace :elpaca to :ensure following the elpaca update.

Using :elpaca was DEPRECATED on elpaca 0.7.
This commit is contained in:
KJ 2024-04-03 18:40:00 -04:00
parent c72edac318
commit 886284c70d
7 changed files with 19 additions and 20 deletions

View File

@ -17,7 +17,7 @@
(use-package corfu
:defer t
:elpaca (:files (:defaults "extensions/*")
:ensure (:files (:defaults "extensions/*")
:includes (corfu-info corfu-history))
:hook ((elpaca-after-init . global-corfu-mode)
(corfu-mode . corfu-popupinfo-mode))
@ -40,7 +40,7 @@
completion-category-overrides '((file (styles partial-completion)))))
(use-package cape
:elpaca (:host github :repo "minad/cape")
:ensure (:host github :repo "minad/cape")
:after corfu
:init
;; (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
@ -53,7 +53,7 @@
;; Hacer que corfu funcione en la terminal
(unless (display-graphic-p)
(use-package corfu-terminal
:elpaca (:repo "https://codeberg.org/akib/emacs-corfu-terminal.git")
:ensure (:repo "https://codeberg.org/akib/emacs-corfu-terminal.git")
:config
(corfu-terminal-mode +1))
)

View File

@ -31,7 +31,7 @@
(use-package eglot
:defer t
:elpaca nil
;; :ensure nil
:hook ((css-mode . eglot-ensure)
(html-mode . eglot-ensure)
(php-mode . eglot-ensure)
@ -65,7 +65,7 @@
;; Revisar por errores en el código
(use-package flymake
:defer t
:elpaca nil
:ensure nil
:hook (prog-mode . (lambda ()
(unless (derived-mode-p 'makefile-mode)
(flymake-mode))))
@ -76,7 +76,7 @@
;; Mostar los errores de flymake en un popup-tip
(use-package flymake-diagnostic-at-point
:defer t
:elpaca t
:ensure t
:after flymake
:hook (flymake-mode . flymake-diagnostic-at-point-mode))

View File

@ -80,7 +80,7 @@
;; org-mode
(use-package org
:defer t
:elpaca nil
:ensure nil
:bind (("C-c a" . org-agenda)
("C-c c" . org-capture))
:hook
@ -152,7 +152,7 @@
;; Org-yt para soportar embebidos.
(use-package org-yt
:elpaca (:host github :repo "TobiasZawada/org-yt")
:ensure (:host github :repo "TobiasZawada/org-yt")
:config
(defun org-http-image-data-fn (protocol link _description)
"Interpret LINK as an URL to an image file."

View File

@ -100,7 +100,7 @@
;; Emparejamiento automático de comillas, paréntesis, corchetes y llaves
(use-package electric-pair
:defer t
:elpaca nil
:ensure nil
:hook (elpaca-after-init . electric-pair-mode)
:config
(setq electric-pair-delete-adjacent-pairs nil))
@ -266,7 +266,7 @@
;; Recentf - Guarda registro de los archivos abiertos recientemente
(use-package recentf
:defer t
:elpaca nil
:ensure nil
:bind ("C-x C-r" . recentf-open-files)
:config
(setq recentf-save-file
@ -292,16 +292,15 @@
;; Guardar la posición del cursor en un archivo para volver allí cuando se lo vuelva a abrir.
(use-package saveplace
:elpaca nil
:ensure nil
:hook (elpaca-after-init . save-place-mode)
:config
(setq save-place-file (locate-user-emacs-file (concat temp-dir "/places"))))
;; Paquete para crear imágens (solo lo uso para sacar capturas SVG de emacs)
(use-package silicon
:ensure t
:defer t
:elpaca (:host github :repo "iensu/silicon-el"))
:ensure (:host github :repo "iensu/silicon-el"))
;; Mejorando el scroll
(use-package smooth-scrolling
@ -316,7 +315,7 @@
;; Ayuda a manipular los archivos con líneas demasiado largas
(use-package so-long
:defer t
:elpaca nil
:ensure nil
:bind (:map so-long-mode-map
("C-s" . isearch-forward)
("C-r" . isearch-backward))
@ -349,7 +348,7 @@
;; Tree-sitter :)
(use-package treesit
:defer t
:elpaca nil
:ensure nil
:commands (treesit-install-language-grammar nf/treesit-install-all-languages)
:config
(setq treesit-language-source-alist
@ -384,7 +383,7 @@
;; Cuando presionas enter en un bloque de comentario sigue el estilo del bloque.
;; (use-package vs-comment-return
;; :elpaca (:host github :repo "emacs-vs/vs-comment-return")
;; :ensure (:host github :repo "emacs-vs/vs-comment-return")
;; :defer t
;; :hook (prog-mode . vs-comment-return-mode)
;; )
@ -408,7 +407,7 @@
;; Restaurar el estado de los frames
(use-package winner
:elpaca nil
:ensure nil
:defer t
:hook (elpaca-after-init . winner-mode))

View File

@ -22,7 +22,7 @@
(use-package auto-rename-tag
:elpaca (:host github :repo "jcs-elpa/auto-rename-tag")
:ensure (:host github :repo "jcs-elpa/auto-rename-tag")
:defer t
)

View File

@ -11,7 +11,7 @@
(use-package js
:defer t
:elpaca nil
:ensure nil
:mode
("\\.js$" . js-mode)
:hook

View File

@ -27,7 +27,7 @@
)
(use-package php-doc-block
:elpaca (:host github :repo "moskalyovd/emacs-php-doc-block")
:ensure (:host github :repo "moskalyovd/emacs-php-doc-block")
)
(provide 'lang-php)