Change :elpaca to :ensure

This commit is contained in:
Andrew Scott 2024-02-20 11:43:17 -05:00
parent 01d90c0f40
commit b1b4de884b
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -98,7 +98,7 @@
;;; Built-in features
(use-package emacs
:elpaca nil
:ensure nil
:init
;; Initial mode
(setq initial-major-mode 'fundamental-mode)
@ -156,32 +156,32 @@
(set-keyboard-coding-system 'utf-8))
(use-package compile
:elpaca nil
:ensure nil
:commands (compile recompile)
:config (setq compilation-scroll-output t))
(use-package cus-edit
:elpaca nil
:ensure nil
:config (setq-default custom-file null-device))
(use-package display-fill-column-indicator
:elpaca nil
:ensure nil
:hook ((conf-mode
markdown-mode
prog-mode) . display-fill-column-indicator-mode)
:config (setq-default fill-column 100))
(use-package display-line-numbers
:elpaca nil
:ensure nil
:hook ((conf-mode prog-mode) . display-line-numbers-mode))
(use-package elec-pair
:elpaca nil
:ensure nil
:defer 3
:config (electric-pair-mode))
(use-package files
:elpaca nil
:ensure nil
:config
(let ((auto_save_directory (concat xdg_cache_home "auto-save-list/")))
(unless (file-directory-p auto_save_directory)
@ -197,7 +197,7 @@
version-control t))
(use-package flyspell
:elpaca nil
:ensure nil
:defer 3
:hook
(((git-commit-mode
@ -206,19 +206,19 @@
(lsp-mode . flyspell-prog-mode)))
(use-package mwheel
:elpaca nil
:ensure nil
:config
(setq mouse-wheel-follow-mouse t
mouse-wheel-progressive-speed nil
mouse-wheel-scroll-amount '(2 ((shift) . 1))))
(use-package paren
:elpaca nil
:ensure nil
:defer 3
:config (show-paren-mode))
(use-package recentf
:elpaca nil
:ensure nil
:config
(setq recentf-auto-cleanup 'never
recentf-max-menu-items 15
@ -227,7 +227,7 @@
(recentf-mode))
(use-package savehist
:elpaca nil
:ensure nil
:defer 3
:config
(setq savehist-autosave-interval 60
@ -236,7 +236,7 @@
(savehist-mode))
(use-package saveplace
:elpaca nil
:ensure nil
:defer 1
:config
(setq save-place-file (concat xdg_cache_home "places"))
@ -244,16 +244,16 @@
(use-package seq
; Unload seq before elpaca build
:elpaca `(seq :build ,(+elpaca-seq-build-steps)))
:ensure `(seq :build ,(+elpaca-seq-build-steps)))
(use-package simple
:elpaca nil
:ensure nil
:config
(setq-default indent-tabs-mode nil)
(column-number-mode))
(use-package whitespace
:elpaca nil
:ensure nil
:hook
((conf-mode
prog-mode
@ -277,7 +277,7 @@
;; Theme
(use-package everforest
:elpaca (everforest :host sourcehut :repo "theorytoe/everforest-theme")
:ensure (everforest :host sourcehut :repo "theorytoe/everforest-theme")
:config
(setq custom-safe-themes t)
(load-theme 'everforest-hard-dark t)
@ -463,7 +463,7 @@
;; In-buffer completion
(use-package corfu
:defer 3
:elpaca (corfu :files (:defaults "extensions/*"))
:ensure (corfu :files (:defaults "extensions/*"))
:bind (:map corfu-map ("M-SPC" . corfu-insert-separator))
:config
(global-corfu-mode)