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