From ea2daa4b6eed8ed96251264eabfbebc24d4b213e Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Sat, 4 Mar 2023 16:49:01 -0900 Subject: [PATCH] elpaca declarations don't need a `car` --- lisp/mitch-packages.el | 132 +++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 72 deletions(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index c10a3b2..7d90dc3 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -71,8 +71,7 @@ ;; scribble SVGs in org buffers like it's 2005 (idk I was a baby then) (use-package edraw - :elpaca (edraw - :repo "https://github.com/misohena/el-easydraw") + :elpaca (:repo "https://github.com/misohena/el-easydraw") :after org :config (require 'edraw-org) @@ -165,9 +164,8 @@ (evil-goggles-default-face ((t (:background "#303030" :foreground "#2233aa"))))) (use-package altcaps - :elpaca (altcaps - :host github - :repo "protesilaos/altcaps") + :elpaca (:host github + :repo "protesilaos/altcaps") :general (general-define-key :states 'visual "`" 'altcaps-region)) @@ -244,8 +242,8 @@ If the current window occupies the whole frame, split it." ;; show command that caused last scrollback in eshell etc (use-package sticky-shell :elpaca (sticky-shell - :host github - :repo "andyjda/sticky-shell") + :host github + :repo "andyjda/sticky-shell") :after eshell :config (defun esh--turn-off-sticky-shell () @@ -269,13 +267,13 @@ If the current window occupies the whole frame, split it." (use-package eat :elpaca (eat :type git - :host codeberg - :repo "akib/emacs-eat" - :files ("*.el" ("term" "term/*.el") "*.texi" - "*.ti" ("terminfo/e" "terminfo/e/*") - ("terminfo/65" "terminfo/65/*") - ("integration" "integration/*") - (:exclude ".dir-locals.el" "*-tests.el"))) + :host codeberg + :repo "akib/emacs-eat" + :files ("*.el" ("term" "term/*.el") "*.texi" + "*.ti" ("terminfo/e" "terminfo/e/*") + ("terminfo/65" "terminfo/65/*") + ("integration" "integration/*") + (:exclude ".dir-locals.el" "*-tests.el"))) :custom (eat-kill-buffer-on-exit t) :hook @@ -293,33 +291,29 @@ If the current window occupies the whole frame, split it." :hook (eshell-mode . eshell-syntax-highlighting-mode)) (use-package eshell-dat :elpaca (eshell-dat - :repo "https://git.mitchmarq42.xyz/mitch/eshell-dat") + :repo "https://git.mitchmarq42.xyz/mitch/eshell-dat") :after eshell) (use-package ansilove - :elpaca (ansilove - :host gitlab - :repo "xgqt/emacs-ansilove") + :elpaca (:host gitlab + :repo "xgqt/emacs-ansilove") :commands ansilove) (use-package gitstatus - :elpaca (gitstatus - :host github - :repo "igorepst/gitstatus-el") + :elpaca (:host github + :repo "igorepst/gitstatus-el") :custom (gitstatusd-exe "~/.cache/gitstatus/gitstatusd-linux-x86_64") :after eshell :init (add-hook 'eshell-before-prompt-hook #'gitstatus-eshell-start)) (use-package p11k - :elpaca (p11k - :repo "https://git.mitchmarq42.xyz/mitch/p11k-el") + :elpaca (:repo "https://git.mitchmarq42.xyz/mitch/p11k-el") :after eshell :hook (eshell-first-time-mode . p11k-mode)) ;; File manager. Only breaks when you brag about how it doesn't. (use-package all-the-icons - :elpaca (all-the-icons :post-build - ("emacsclient" "--eval '(all-the-icons-install-fonts t)'"))) + :elpaca (all-the-icons :post-build + ("emacsclient" "--eval '(all-the-icons-install-fonts t)'"))) (use-package dirvish - :elpaca (dirvish - :files (:defaults "extensions/*.el")) + :elpaca (:files (:defaults "extensions/*.el")) :defer 0.5 :commands dirvish :custom @@ -347,8 +341,7 @@ If the current window occupies the whole frame, split it." ;; Completion framework... (use-package vertico - :elpaca (vertico - :files (:defaults "extensions/vertico-mouse.el")) + :elpaca (:files (:defaults "extensions/vertico-mouse.el")) :custom (vertico-resize t) :init (vertico-mode t) :config @@ -378,7 +371,7 @@ see https://www.reddit.com/r/emacs/comments/xq6rpa/comment/iqynyu9/?utm_source= (vertico-mouse-mode))) (use-package app-launcher :elpaca (app-launcher - :host github :repo "SebastienWae/app-launcher") + :host github :repo "SebastienWae/app-launcher") :after vertico :config ;; modified from https://www.reddit.com/r/unixporn/comments/s7p7pr/so_which_run_launcher_do_you_use_rofi_or_dmenu/ @@ -573,8 +566,8 @@ targets." ;; Not to be confused with a color theme, or a color scheme, or a custom scheme. (use-package sv-theme :elpaca (sv-theme - :repo - "https://git.mitchmarq42.xyz/mitch/vimcolors") + :repo + "https://git.mitchmarq42.xyz/mitch/vimcolors") :config (mitch/visual-setup) (load-theme 'airline-ravenpower t) @@ -698,8 +691,8 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode "ZZ" 'org-edit-src-exit)) (use-package org-block-capf :elpaca (org-block-capf - :host github - :repo "xenodium/org-block-capf") + :host github + :repo "xenodium/org-block-capf") :after org :init (add-hook 'org-mode-hook #'org-block-capf-add-to-completion-at-point-functions)) @@ -730,8 +723,8 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode ;; (org-appear-autosubmarkers t)) (use-package org-pretty-table :elpaca (org-pretty-table - :host github - :repo "Fuco1/org-pretty-table") + :host github + :repo "Fuco1/org-pretty-table") :diminish :hook (org-mode . org-pretty-table-mode)) (use-package ox-hugo @@ -815,8 +808,8 @@ Return nil if DIR is not in a hugo project at all." '(flex)))) (use-package treesit-auto :elpaca (treesit-auto - :host github - :repo "renzmann/treesit-auto") + :host github + :repo "renzmann/treesit-auto") :custom (treesit-auto-install 'prompt) ;; :init (add-to-list 'treesit-auto-fallback-alist '(bash-ts-mode . sh-mode)) ) @@ -848,9 +841,9 @@ Return nil if DIR is not in a hugo project at all." (use-package relint) (use-package elisp-autofmt :elpaca (elisp-autofmt - :host codeberg - :repo "ideasman42/emacs-elisp-autofmt" - :files ("*")) + :host codeberg + :repo "ideasman42/emacs-elisp-autofmt" + :files ("*")) :custom (elisp-autofmt-python-bin "/usr/bin/python3")) @@ -892,8 +885,7 @@ Return nil if DIR is not in a hugo project at all." ;; (company-tooltip-align-annotations t) ;; :hook (prog-mode . company-mode)) (use-package corfu - :elpaca (corfu - :files (:defaults "extensions/*.el")) + :elpaca (:files (:defaults "extensions/*.el")) ;; :if (display-graphic-p) ; breaks in emacsclient :custom (corfu-cycle t) ;; Enable cycling for `corfu-next/previous' @@ -951,14 +943,13 @@ Return nil if DIR is not in a hugo project at all." :after eshell) (use-package popon - :elpaca (popon - :type git - :repo "https://codeberg.org/akib/emacs-popon") + :elpaca (:type git + :repo "https://codeberg.org/akib/emacs-popon") :if (not (display-graphic-p))) (use-package corfu-terminal :elpaca (corfu-terminal - :type git - :repo "https://codeberg.org/akib/emacs-corfu-terminal") + :type git + :repo "https://codeberg.org/akib/emacs-corfu-terminal") :after popon :init (unless (display-graphic-p) @@ -1002,11 +993,10 @@ Return nil if DIR is not in a hugo project at all." (run-with-timer 5 3 #'madots--cleanup))) (use-package hyperbole - :elpaca (hyperbole - :files ("*.el" - ("kotl" "kotl/*.el") - "man/*.info" "man/*.texi") - :host github :repo "rswgnu/hyperbole") + :elpaca (:files ("*.el" + ("kotl" "kotl/*.el") + "man/*.info" "man/*.texi") + :host github :repo "rswgnu/hyperbole") :diminish :general (general-define-key :states 'normal @@ -1014,13 +1004,13 @@ Return nil if DIR is not in a hugo project at all." (use-package dconf-mode :elpaca (dconf-mode - :type git - :repo "https://git.mitchmarq42.xyz/mitch/dconf-mode.el")) + :type git + :repo "https://git.mitchmarq42.xyz/mitch/dconf-mode.el")) (use-package info-variable-pitch :elpaca (info-variable-pitch - :host github - :repo "kisaragi-hiu/info-variable-pitch") + :host github + :repo "kisaragi-hiu/info-variable-pitch") :config (add-hook 'Info-mode-hook #'info-variable-pitch-mode)) @@ -1062,8 +1052,8 @@ Return nil if DIR is not in a hugo project at all." (use-package ani-el :elpaca (ani-el - :repo "https://git.mitchmarq42.xyz/mitch/ani-el" - :files ("ani-el.el" "lib"))) + :repo "https://git.mitchmarq42.xyz/mitch/ani-el" + :files ("ani-el.el" "lib"))) (use-package slime :if (file-exists-p (expand-file-name "~/quicklisp/slime-helper.el")) @@ -1115,7 +1105,7 @@ Return nil if DIR is not in a hugo project at all." (use-package dwim-shell-command :elpaca (dwim-shell-command - :files (:defaults "dwim-shell-commands.el")) + :files (:defaults "dwim-shell-commands.el")) :config (require 'dwim-shell-commands) :commands dwim-shell-commands-kill-process) @@ -1138,8 +1128,8 @@ Return nil if DIR is not in a hugo project at all." (use-package youtube-sub-extractor :elpaca (youtube-sub-extractor - :host github - :repo "agzam/youtube-sub-extractor.el") + :host github + :repo "agzam/youtube-sub-extractor.el") :custom (youtube-sub-extractor-timestamps 'left-margin) :commands youtube-sub-extractor-extract-subs) @@ -1149,9 +1139,8 @@ Return nil if DIR is not in a hugo project at all." :commands cheat-sh) (use-package pcre2el - :elpaca (pcre2el - :host github - :repo "joddie/pcre2el") + :elpaca (:host github + :repo "joddie/pcre2el") :config (defmacro prx (&rest expressions) "Convert the rx-compatible regular EXPRESSIONS to PCRE. @@ -1203,8 +1192,8 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html" (use-package svg-tag-mode :elpaca (svg-tag-mode - :host github - :repo "rougier/svg-tag-mode") + :host github + :repo "rougier/svg-tag-mode") ;; :after org-modern :hook (org-modern-mode . svg-tag-mode) :custom (svg-tag-tags @@ -1226,9 +1215,8 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html" (use-package yuck-mode) (use-package klondike - :elpaca (klondike - :host codeberg - :repo "WammKD/Emacs-Klondike") + :elpaca (:host codeberg + :repo "WammKD/Emacs-Klondike") :commands klondike) ;; disabled because error and useless @@ -1249,8 +1237,8 @@ Taken from https://howardism.org/Technical/Emacs/eshell-why.html" ) (use-package perspective-tabs :elpaca (perspective-tabs - :host sourcehut - :repo "woozong/perspective-tabs") + :host sourcehut + :repo "woozong/perspective-tabs") :after perspective :init (perspective-tabs-mode +1))