Update for elpaca :ensure changes

This commit is contained in:
David Morgan 2024-02-17 14:35:16 +00:00
parent 0c50c5f627
commit 9ef14c835d
Signed by: djm
GPG Key ID: C171251002C200F2
5 changed files with 8 additions and 9 deletions

View File

@ -133,7 +133,7 @@ no words in between, beginning with the first word."
;; code completion - corfu
(use-package corfu
:elpaca (corfu :files (:defaults "extensions/*"))
:ensure (corfu :files (:defaults "extensions/*"))
:custom
(corfu-cycle t)
:bind (:map corfu-map

View File

@ -215,7 +215,7 @@
:bind ("C-c c t t" . titlecase-dwim))
(use-package caser
:elpaca (caser :host github :repo "emacsmirror/caser")
:ensure (caser :host github :repo "emacsmirror/caser")
:bind
("C-c c c" . caser-camelcase-dwim)
("C-c c s" . caser-snakecase-dwim)

View File

@ -6,7 +6,7 @@
;;; Code:
(use-package vertico
:elpaca (vertico :files (:defaults "extensions/*"))
:ensure (vertico :files (:defaults "extensions/*"))
:hook (elpaca-after-init . vertico-mode)
:custom (vertico-cycle t)
:config

View File

@ -43,10 +43,9 @@
;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
;; Enable use-package :ensure support for Elpaca.
(elpaca-use-package-mode)
;; Assume :elpaca t unless otherwise specified.
(setq elpaca-use-package-by-default t
(setq use-package-always-ensure t
use-package-always-defer t
package-native-compile t
elpaca-queue-limit 10)
@ -108,7 +107,7 @@
`NAME' and `ARGS' are as with `use-package'"
(declare (indent defun))
`(use-package ,name
:elpaca nil
:ensure nil
,@args))
;; useful for corfu and vertico extensions
@ -117,7 +116,7 @@
`PKG' is the name of the package, `NAME' and `ARGS' are as with `use-package'"
(declare (indent defun))
`(use-package ,name
:elpaca nil
:ensure nil
:after ,pkg
:demand t
,@args))

View File

@ -200,7 +200,7 @@
(setq-local sp-local-pairs (seq-filter '(lambda (x) (not (string= "'" (cadr x)))) sp-local-pairs))))
(use-package highlight-sexp
:elpaca (highlight-sexp :host github :repo "daimrod/highlight-sexp")
:ensure (highlight-sexp :host github :repo "daimrod/highlight-sexp")
:diminish
;; TODO grey8 ?
:custom (hl-sexp-background-color "grey10")