Replace :elpaca to :ensure following the elpaca update.
Using :elpaca was DEPRECATED on elpaca 0.7.
This commit is contained in:
parent
c72edac318
commit
886284c70d
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(use-package corfu
|
(use-package corfu
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca (:files (:defaults "extensions/*")
|
:ensure (:files (:defaults "extensions/*")
|
||||||
:includes (corfu-info corfu-history))
|
:includes (corfu-info corfu-history))
|
||||||
:hook ((elpaca-after-init . global-corfu-mode)
|
:hook ((elpaca-after-init . global-corfu-mode)
|
||||||
(corfu-mode . corfu-popupinfo-mode))
|
(corfu-mode . corfu-popupinfo-mode))
|
||||||
@ -40,7 +40,7 @@
|
|||||||
completion-category-overrides '((file (styles partial-completion)))))
|
completion-category-overrides '((file (styles partial-completion)))))
|
||||||
|
|
||||||
(use-package cape
|
(use-package cape
|
||||||
:elpaca (:host github :repo "minad/cape")
|
:ensure (:host github :repo "minad/cape")
|
||||||
:after corfu
|
:after corfu
|
||||||
:init
|
:init
|
||||||
;; (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
|
;; (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
|
||||||
@ -53,7 +53,7 @@
|
|||||||
;; Hacer que corfu funcione en la terminal
|
;; Hacer que corfu funcione en la terminal
|
||||||
(unless (display-graphic-p)
|
(unless (display-graphic-p)
|
||||||
(use-package corfu-terminal
|
(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
|
:config
|
||||||
(corfu-terminal-mode +1))
|
(corfu-terminal-mode +1))
|
||||||
)
|
)
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
;; :ensure nil
|
||||||
:hook ((css-mode . eglot-ensure)
|
:hook ((css-mode . eglot-ensure)
|
||||||
(html-mode . eglot-ensure)
|
(html-mode . eglot-ensure)
|
||||||
(php-mode . eglot-ensure)
|
(php-mode . eglot-ensure)
|
||||||
@ -65,7 +65,7 @@
|
|||||||
;; Revisar por errores en el código
|
;; Revisar por errores en el código
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:hook (prog-mode . (lambda ()
|
:hook (prog-mode . (lambda ()
|
||||||
(unless (derived-mode-p 'makefile-mode)
|
(unless (derived-mode-p 'makefile-mode)
|
||||||
(flymake-mode))))
|
(flymake-mode))))
|
||||||
@ -76,7 +76,7 @@
|
|||||||
;; Mostar los errores de flymake en un popup-tip
|
;; Mostar los errores de flymake en un popup-tip
|
||||||
(use-package flymake-diagnostic-at-point
|
(use-package flymake-diagnostic-at-point
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca t
|
:ensure t
|
||||||
:after flymake
|
:after flymake
|
||||||
:hook (flymake-mode . flymake-diagnostic-at-point-mode))
|
:hook (flymake-mode . flymake-diagnostic-at-point-mode))
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
;; org-mode
|
;; org-mode
|
||||||
(use-package org
|
(use-package org
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:bind (("C-c a" . org-agenda)
|
:bind (("C-c a" . org-agenda)
|
||||||
("C-c c" . org-capture))
|
("C-c c" . org-capture))
|
||||||
:hook
|
:hook
|
||||||
@ -152,7 +152,7 @@
|
|||||||
|
|
||||||
;; Org-yt para soportar embebidos.
|
;; Org-yt para soportar embebidos.
|
||||||
(use-package org-yt
|
(use-package org-yt
|
||||||
:elpaca (:host github :repo "TobiasZawada/org-yt")
|
:ensure (:host github :repo "TobiasZawada/org-yt")
|
||||||
:config
|
:config
|
||||||
(defun org-http-image-data-fn (protocol link _description)
|
(defun org-http-image-data-fn (protocol link _description)
|
||||||
"Interpret LINK as an URL to an image file."
|
"Interpret LINK as an URL to an image file."
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
;; Emparejamiento automático de comillas, paréntesis, corchetes y llaves
|
;; Emparejamiento automático de comillas, paréntesis, corchetes y llaves
|
||||||
(use-package electric-pair
|
(use-package electric-pair
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:hook (elpaca-after-init . electric-pair-mode)
|
:hook (elpaca-after-init . electric-pair-mode)
|
||||||
:config
|
:config
|
||||||
(setq electric-pair-delete-adjacent-pairs nil))
|
(setq electric-pair-delete-adjacent-pairs nil))
|
||||||
@ -266,7 +266,7 @@
|
|||||||
;; Recentf - Guarda registro de los archivos abiertos recientemente
|
;; Recentf - Guarda registro de los archivos abiertos recientemente
|
||||||
(use-package recentf
|
(use-package recentf
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:bind ("C-x C-r" . recentf-open-files)
|
:bind ("C-x C-r" . recentf-open-files)
|
||||||
:config
|
:config
|
||||||
(setq recentf-save-file
|
(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.
|
;; Guardar la posición del cursor en un archivo para volver allí cuando se lo vuelva a abrir.
|
||||||
(use-package saveplace
|
(use-package saveplace
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:hook (elpaca-after-init . save-place-mode)
|
:hook (elpaca-after-init . save-place-mode)
|
||||||
:config
|
:config
|
||||||
(setq save-place-file (locate-user-emacs-file (concat temp-dir "/places"))))
|
(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)
|
;; Paquete para crear imágens (solo lo uso para sacar capturas SVG de emacs)
|
||||||
(use-package silicon
|
(use-package silicon
|
||||||
:ensure t
|
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca (:host github :repo "iensu/silicon-el"))
|
:ensure (:host github :repo "iensu/silicon-el"))
|
||||||
|
|
||||||
;; Mejorando el scroll
|
;; Mejorando el scroll
|
||||||
(use-package smooth-scrolling
|
(use-package smooth-scrolling
|
||||||
@ -316,7 +315,7 @@
|
|||||||
;; Ayuda a manipular los archivos con líneas demasiado largas
|
;; Ayuda a manipular los archivos con líneas demasiado largas
|
||||||
(use-package so-long
|
(use-package so-long
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:bind (:map so-long-mode-map
|
:bind (:map so-long-mode-map
|
||||||
("C-s" . isearch-forward)
|
("C-s" . isearch-forward)
|
||||||
("C-r" . isearch-backward))
|
("C-r" . isearch-backward))
|
||||||
@ -349,7 +348,7 @@
|
|||||||
;; Tree-sitter :)
|
;; Tree-sitter :)
|
||||||
(use-package treesit
|
(use-package treesit
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:commands (treesit-install-language-grammar nf/treesit-install-all-languages)
|
:commands (treesit-install-language-grammar nf/treesit-install-all-languages)
|
||||||
:config
|
:config
|
||||||
(setq treesit-language-source-alist
|
(setq treesit-language-source-alist
|
||||||
@ -384,7 +383,7 @@
|
|||||||
|
|
||||||
;; Cuando presionas enter en un bloque de comentario sigue el estilo del bloque.
|
;; Cuando presionas enter en un bloque de comentario sigue el estilo del bloque.
|
||||||
;; (use-package vs-comment-return
|
;; (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
|
;; :defer t
|
||||||
;; :hook (prog-mode . vs-comment-return-mode)
|
;; :hook (prog-mode . vs-comment-return-mode)
|
||||||
;; )
|
;; )
|
||||||
@ -408,7 +407,7 @@
|
|||||||
|
|
||||||
;; Restaurar el estado de los frames
|
;; Restaurar el estado de los frames
|
||||||
(use-package winner
|
(use-package winner
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:defer t
|
:defer t
|
||||||
:hook (elpaca-after-init . winner-mode))
|
:hook (elpaca-after-init . winner-mode))
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(use-package auto-rename-tag
|
(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
|
:defer t
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
(use-package js
|
(use-package js
|
||||||
:defer t
|
:defer t
|
||||||
:elpaca nil
|
:ensure nil
|
||||||
:mode
|
:mode
|
||||||
("\\.js$" . js-mode)
|
("\\.js$" . js-mode)
|
||||||
:hook
|
:hook
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
(use-package php-doc-block
|
(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)
|
(provide 'lang-php)
|
||||||
|
Loading…
Reference in New Issue
Block a user