Don't use elpaca. Just stick with use-package and straight.

This commit is contained in:
MitchMarq42 2022-08-30 05:40:34 -08:00
parent 98ba54022c
commit c2b61e4c66
2 changed files with 72 additions and 82 deletions

View File

@ -70,8 +70,8 @@
(defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (straight-use-package 'use-package) (setq straight-use-package-by-default t) (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) (straight-use-package 'use-package) (setq straight-use-package-by-default t)
;; actually, use elpaca instead ;; actually, use elpaca instead
(require 'elpaca-bootstrap) (elpaca 'use-package (require 'use-package)) ;; (require 'elpaca-bootstrap) (elpaca 'use-package (require 'use-package))
;; actually, don't because it's broken on Windows
(require 'mitch-packages) (require 'mitch-packages)
@ -79,7 +79,6 @@
;; (global-display-line-numbers-mode) ;; (global-display-line-numbers-mode)
;; (defvar display-line-numbers-width-start t) ;; (defvar display-line-numbers-width-start t)
;; scroll step stuff ;; scroll step stuff
(setq scroll-margin 2 (setq scroll-margin 2
scroll-conservatively 100 scroll-conservatively 100

View File

@ -6,18 +6,9 @@
;; ----------------------------------------------------------------------------- ;; -----------------------------------------------------------------------------
;;; Code: ;;; Code:
;; (elpaca-use-package elpaca
;; :init (require 'elpaca-bootstrap))
(defmacro use-feature (name &rest args)
"Like `use-package' but accounting for asynchronous installation.
NAME and ARGS are in `use-package'."
(declare (indent defun))
`(elpaca nil (use-package ,name
:ensure nil
,@args)))
;; diminish ;; diminish
(elpaca-use-package diminish) (use-package diminish)
(use-feature eldoc (use-package eldoc
:straight (:type built-in) :straight (:type built-in)
:diminish :diminish
:defer 1 :defer 1
@ -29,11 +20,11 @@ NAME and ARGS are in `use-package'."
(get-char-code-property (string-to-char (thing-at-point 'char)) 'name))) (get-char-code-property (string-to-char (thing-at-point 'char)) 'name)))
(add-hook 'eldoc-documentation-functions (add-hook 'eldoc-documentation-functions
#'eldoc-jhk)) #'eldoc-jhk))
(use-feature savehist (use-package savehist
:straight (:type built-in) :straight (:type built-in)
:init (savehist-mode)) :init (savehist-mode))
;; Visualize whitespace. In a very chill and invisible way. ;; Visualize whitespace. In a very chill and invisible way.
(use-feature whitespace (use-package whitespace
:straight (:type built-in) :straight (:type built-in)
:defer 1 :defer 1
:diminish whitespace-mode :diminish whitespace-mode
@ -43,29 +34,29 @@ NAME and ARGS are in `use-package'."
:hook (prog-mode . whitespace-mode) :hook (prog-mode . whitespace-mode)
;; :config (global-whitespace-mode t) ;; :config (global-whitespace-mode t)
) )
(use-feature ibuffer (use-package ibuffer
:straight (:type built-in) :straight (:type built-in)
:commands ibuffer :commands ibuffer
:custom (ibuffer-use-other-window t)) :custom (ibuffer-use-other-window t))
(use-feature image-mode (use-package image-mode
:straight (:type built-in) :straight (:type built-in)
:config :config
(turn-off-line-numbers) (turn-off-line-numbers)
(blink-cursor-mode -1)) (blink-cursor-mode -1))
;; ...and finally, sync files with disk changes ;; ...and finally, sync files with disk changes
(use-feature autorevert (use-package autorevert
:straight (:type built-in) :straight (:type built-in)
:diminish auto-revert-mode :diminish auto-revert-mode
:config (global-auto-revert-mode)) :config (global-auto-revert-mode))
;; Keybinding manager ;; Keybinding manager
(use-feature general (use-package general
:straight t :straight t
:config (mitch/general-config)) :config (mitch/general-config))
;; load evil ;; load evil
(use-feature evil (use-package evil
:straight t :straight t
:general :general
(general-define-key (general-define-key
@ -93,22 +84,22 @@ NAME and ARGS are in `use-package'."
(quote undo-fu))) (quote undo-fu)))
:init :init
(evil-mode t)) (evil-mode t))
(use-feature evil-collection (use-package evil-collection
:straight t :straight t
:after evil :after evil
:diminish evil-collection-unimpaired-mode :diminish evil-collection-unimpaired-mode
:config (evil-collection-init)) :config (evil-collection-init))
(use-feature evil-commentary (use-package evil-commentary
:straight t :straight t
:diminish 'evil-commentary-mode :diminish 'evil-commentary-mode
:config (evil-commentary-mode) :config (evil-commentary-mode)
:hook (prog-mode . evil-commentary-mode)) :hook (prog-mode . evil-commentary-mode))
(use-feature evil-surround (use-package evil-surround
:straight t :straight t
:diminish 'global-evil-surround-mode :diminish 'global-evil-surround-mode
:hook (prog-mode . evil-surround-mode) :hook (prog-mode . evil-surround-mode)
:config (global-evil-surround-mode 1)) :config (global-evil-surround-mode 1))
(use-feature evil-terminal-cursor-changer (use-package evil-terminal-cursor-changer
:straight t :straight t
:after evil :after evil
:diminish :diminish
@ -116,13 +107,13 @@ NAME and ARGS are in `use-package'."
:config :config
(evil-terminal-cursor-changer-activate) (evil-terminal-cursor-changer-activate)
(xterm-mouse-mode)) (xterm-mouse-mode))
(use-feature undo-fu (use-package undo-fu
:after evil :after evil
:if (< (string-to-number emacs-version) 28) :if (< (string-to-number emacs-version) 28)
:diminish) :diminish)
;; eshell. Pretty good actually. ;; eshell. Pretty good actually.
(use-feature eshell (use-package eshell
:straight (:type built-in) :straight (:type built-in)
:commands (eshell/emacs eshell/man) :commands (eshell/emacs eshell/man)
:custom (eshell-scroll-to-bottom-on-input t) :custom (eshell-scroll-to-bottom-on-input t)
@ -144,21 +135,21 @@ This is taken from a website that I can't remember at the moment."
:states 'normal :states 'normal
:keymaps 'eshell-mode-map :keymaps 'eshell-mode-map
"I" 'eshell-evil-insert-line)) "I" 'eshell-evil-insert-line))
(elpaca-use-package eshell-vterm (use-package eshell-vterm
:after eshell :after eshell
:custom (eshell-destroy-buffer-when-process-dies t) :custom (eshell-destroy-buffer-when-process-dies t)
:hook (eshell-mode . eshell-vterm-mode)) :hook (eshell-mode . eshell-vterm-mode))
(elpaca-use-package eshell-syntax-highlighting (use-package eshell-syntax-highlighting
:hook (eshell-mode . eshell-syntax-highlighting-mode)) :hook (eshell-mode . eshell-syntax-highlighting-mode))
(elpaca-use-package eshell-prompt-extras (use-package eshell-prompt-extras
:after eshell :after eshell
:custom :custom
(eshell-highlight-prompt nil) (eshell-highlight-prompt nil)
(eshell-prompt-function 'epe-theme-multiline-with-status) (eshell-prompt-function 'epe-theme-multiline-with-status)
(epe-path-style 'full)) (epe-path-style 'full))
(use-feature all-the-icons) (use-package all-the-icons)
(elpaca-use-package dirvish (use-package dirvish
:straight (:files (:defaults "extensions/*.el")) :straight (:files (:defaults "extensions/*.el"))
:defer 0.5 :defer 0.5
:commands dirvish :commands dirvish
@ -185,7 +176,7 @@ This is taken from a website that I can't remember at the moment."
"t" 'dirvish-side)) "t" 'dirvish-side))
;; Completion framework... ;; Completion framework...
(elpaca-use-package vertico (use-package vertico
:straight (:files (:defaults "extensions/vertico-mouse.el")) :straight (:files (:defaults "extensions/vertico-mouse.el"))
:custom (vertico-resize t) :custom (vertico-resize t)
:init (vertico-mode t) :init (vertico-mode t)
@ -205,18 +196,18 @@ Otherwise, kill back 1 letter."
(general-define-key (general-define-key
:prefix-map 'minibuffer-mode-map :prefix-map 'minibuffer-mode-map
"DEL" 'backspace-in-minibuffer)) "DEL" 'backspace-in-minibuffer))
(use-feature vertico-mouse (use-package vertico-mouse
:straight vertico :straight vertico
:after vertico :after vertico
:config :config
(vertico-mouse-mode)) (vertico-mouse-mode))
(use-feature consult (use-package consult
:after vertico) :after vertico)
;; Minibuffer generic stuff ;; Minibuffer generic stuff
(use-feature marginalia (use-package marginalia
;; :custom (marginalia-separator " ") ;; :custom (marginalia-separator " ")
:init (marginalia-mode)) :init (marginalia-mode))
(use-feature orderless (use-package orderless
:custom :custom
(completion-styles '(orderless partial-completion basic)) (completion-styles '(orderless partial-completion basic))
(completion-category-defaults nil) (completion-category-defaults nil)
@ -224,7 +215,7 @@ Otherwise, kill back 1 letter."
(completion-category-overrides nil)) (completion-category-overrides nil))
;; weird multi-path thing ;; weird multi-path thing
(use-feature embark (use-package embark
:general :general
(general-define-key (general-define-key
:keymap minibuffer-mode-map :keymap minibuffer-mode-map
@ -264,11 +255,11 @@ targets."
:config :config
(setq enable-recursive-minibuffers t)) (setq enable-recursive-minibuffers t))
;; Consult users will also want the embark-consult package. ;; Consult users will also want the embark-consult package.
(use-feature embark-consult (use-package embark-consult
:after (embark consult)) :after (embark consult))
;; SORTA WORKING: Relative line numbers with stuff ;; SORTA WORKING: Relative line numbers with stuff
(use-feature linum-relative (use-package linum-relative
:diminish :diminish
:init :init
(require 'cl-lib) (require 'cl-lib)
@ -321,7 +312,7 @@ targets."
;; (setq display-line-numbers-mode 'relative) ;; (setq display-line-numbers-mode 'relative)
;; broken terminal that doesn't compile but at least it's fast when it does ;; broken terminal that doesn't compile but at least it's fast when it does
(use-feature vterm (use-package vterm
:custom :custom
(vterm-always-compile-module t) (vterm-always-compile-module t)
(vterm-module-cmake-args "-DUSE_SYSTEM_LIBVTERM=no") (vterm-module-cmake-args "-DUSE_SYSTEM_LIBVTERM=no")
@ -359,7 +350,7 @@ targets."
:hook :hook
(vterm-mode . mitch/terminal-setup) (vterm-mode . mitch/terminal-setup)
(vterm-exit-functions . save-buffers-kill-terminal)) (vterm-exit-functions . save-buffers-kill-terminal))
(use-feature multi-vterm (use-package multi-vterm
:commands (multi-vterm multi-vterm-other-window) :commands (multi-vterm multi-vterm-other-window)
:config :config
(defun multi-vterm-other-window () (defun multi-vterm-other-window ()
@ -379,7 +370,7 @@ targets."
"v" 'multi-vterm-other-window)) "v" 'multi-vterm-other-window))
;; Better modeline? Better modeline. ;; Better modeline? Better modeline.
(use-feature nyan-mode (use-package nyan-mode
:after airline :after airline
:custom :custom
(nyan-cat-face [[""]]) (nyan-cat-face [[""]])
@ -387,13 +378,13 @@ targets."
:init (nyan-mode)) :init (nyan-mode))
;; (add-to-list 'mode-line-format (nyan-create) t) ;; (add-to-list 'mode-line-format (nyan-create) t)
;; (string-to-char "") ;; (string-to-char "")
(use-feature powerline (use-package powerline
:custom :custom
(powerline-display-buffer-size nil) (powerline-display-buffer-size nil)
(powerline-default-separator 'utf-8) (powerline-default-separator 'utf-8)
(powerline-utf-8-separator-left (string-to-char "")) (powerline-utf-8-separator-left (string-to-char ""))
(powerline-utf-8-separator-right (string-to-char ""))) (powerline-utf-8-separator-right (string-to-char "")))
(use-feature airline-themes (use-package airline-themes
:custom :custom
(airline-cursor-colors nil) (airline-cursor-colors nil)
(airline-display-directory t) (airline-display-directory t)
@ -439,7 +430,7 @@ targets."
;; Custom Theme. ;; Custom Theme.
;; Not to be confused with a color theme, or a color scheme, or a custom scheme. ;; Not to be confused with a color theme, or a color scheme, or a custom scheme.
(use-feature autothemer (use-package autothemer
:custom :custom
(window-divider-default-places t) (window-divider-default-places t)
(right-divider-width 5) (right-divider-width 5)
@ -461,7 +452,7 @@ targets."
;; :config (global-yascroll-bar-mode 1)) ;; :config (global-yascroll-bar-mode 1))
;; parentheses settingses ;; parentheses settingses
(use-feature paredit (use-package paredit
:defer 0.1 :defer 0.1
:general (general-define-key :general (general-define-key
:states 'normal :states 'normal
@ -477,7 +468,7 @@ targets."
(show-paren-style 'parenthesis)) (show-paren-style 'parenthesis))
;; org mode and messy things ;; org mode and messy things
(use-feature org (use-package org
:straight (:type built-in) :straight (:type built-in)
:mode (("\\.org$" . org-mode)) :mode (("\\.org$" . org-mode))
:diminish org-indent-mode :diminish org-indent-mode
@ -489,7 +480,7 @@ targets."
#'(lambda () (if (equal major-mode 'org-mode) #'(lambda () (if (equal major-mode 'org-mode)
(org-babel-tangle)))) (org-babel-tangle))))
:hook (org-mode . turn-off-line-numbers)) :hook (org-mode . turn-off-line-numbers))
(use-feature org-tempo (use-package org-tempo
:straight (:type built-in) :straight (:type built-in)
:after org :after org
:config :config
@ -497,13 +488,13 @@ targets."
(add-to-list 'org-structure-template-alist '("el" . "src elisp")) (add-to-list 'org-structure-template-alist '("el" . "src elisp"))
(add-to-list 'org-structure-template-alist '("ps1" . "src powershell")) (add-to-list 'org-structure-template-alist '("ps1" . "src powershell"))
(add-to-list 'org-structure-template-alist '("html" . "src html"))) (add-to-list 'org-structure-template-alist '("html" . "src html")))
(use-feature org-variable-pitch (use-package org-variable-pitch
:if (display-graphic-p) :if (display-graphic-p)
:diminish (buffer-face-mode org-variable-pitch-minor-mode) :diminish (buffer-face-mode org-variable-pitch-minor-mode)
:config :config
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-delimiter-face fixed-pitch)) (set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-delimiter-face fixed-pitch))
:hook (org-mode . org-variable-pitch-minor-mode)) :hook (org-mode . org-variable-pitch-minor-mode))
(use-feature org-contrib (use-package org-contrib
:after org :after org
:config :config
(org-babel-do-load-languages (org-babel-do-load-languages
@ -516,39 +507,39 @@ targets."
;; :after org ;; :after org
;; :custom ;; :custom
;; (org-appear-autolinks t)) ;; (org-appear-autolinks t))
(use-feature ob-powershell (use-package ob-powershell
:after org :after org
:custom :custom
(ob-powershell-powershell-command "pwsh")) (ob-powershell-powershell-command "pwsh"))
(use-feature ox-hugo (use-package ox-hugo
:after ox) :after ox)
;; cheaty key popups ;; cheaty key popups
(use-feature which-key (use-package which-key
:diminish :diminish
:defer 5 :defer 5
:init (which-key-mode t)) :init (which-key-mode t))
;; parentheses are boring ;; parentheses are boring
(use-feature rainbow-delimiters (use-package rainbow-delimiters
:diminish :diminish
:defer 1 :defer 1
:hook (prog-mode . rainbow-delimiters-mode)) :hook (prog-mode . rainbow-delimiters-mode))
;; Hex colors ;; Hex colors
(use-feature rainbow-mode (use-package rainbow-mode
:diminish :diminish
:defer 10 :defer 10
:hook (prog-mode . rainbow-mode)) :hook (prog-mode . rainbow-mode))
;; Nobody loves a good language ;; Nobody loves a good language
(use-feature powershell (use-package powershell
:mode ("\\.ps1\\'" . powershell-mode)) :mode ("\\.ps1\\'" . powershell-mode))
(use-feature cider (use-package cider
:defer 1) :defer 1)
;; or a bad language ;; or a bad language
(use-feature haskell-mode (use-package haskell-mode
:mode "\\.hs\\'" :mode "\\.hs\\'"
;; :init ;; :init
;; (add-hook 'haskell-mode-hook 'haskell-decl-scan-mode) ;; (add-hook 'haskell-mode-hook 'haskell-decl-scan-mode)
@ -564,7 +555,7 @@ targets."
;; c sharp; taken from https://www.reddit.com/r/emacs/comments/k8tnzg/help_setting_up_c_lsp_omnisharproslyn/ ;; c sharp; taken from https://www.reddit.com/r/emacs/comments/k8tnzg/help_setting_up_c_lsp_omnisharproslyn/
;; '(there is nothing here because I'm not using c sharp...) ;; '(there is nothing here because I'm not using c sharp...)
(use-feature lsp-mode (use-package lsp-mode
:hook ((powershell-mode . lsp) :hook ((powershell-mode . lsp)
(lsp-mode . lsp-enable-which-key-integration) (lsp-mode . lsp-enable-which-key-integration)
(lsp-mode . lsp-ui-mode)) (lsp-mode . lsp-ui-mode))
@ -573,17 +564,17 @@ targets."
(lsp-completion-provider :none)) (lsp-completion-provider :none))
;; optionally ;; optionally
(use-feature lsp-ui (use-package lsp-ui
:after lsp :after lsp
:commands lsp-ui-mode) :commands lsp-ui-mode)
;; broken snippets I don't care about... ;; broken snippets I don't care about...
(use-feature yasnippet (use-package yasnippet
:diminish yas-minor-mode :diminish yas-minor-mode
:hook (prog-mode . yas-minor-mode)) :hook (prog-mode . yas-minor-mode))
;; Better help-pages. Genuinely pretty great. ;; Better help-pages. Genuinely pretty great.
(use-feature helpful (use-package helpful
:general (general-define-key :general (general-define-key
[remap describe-key] 'helpful-key [remap describe-key] 'helpful-key
[remap describe-variable] 'helpful-variable [remap describe-variable] 'helpful-variable
@ -599,25 +590,25 @@ targets."
:custom (elisp-refs-verbose nil)) :custom (elisp-refs-verbose nil))
;; Better lisp highlighting? ;; Better lisp highlighting?
(use-feature highlight-defined (use-package highlight-defined
:hook (emacs-lisp-mode . highlight-defined-mode)) :hook (emacs-lisp-mode . highlight-defined-mode))
;; Shell linting? ;; Shell linting?
(use-feature flycheck (use-package flycheck
:diminish :diminish
:hook (prog-mode . flycheck-mode) :hook (prog-mode . flycheck-mode)
;; :config (global-flycheck-mode t) ;; :config (global-flycheck-mode t)
) )
;; Emacs startup profiling ;; Emacs startup profiling
(use-feature esup (use-package esup
:commands esup) :commands esup)
;; Blingy file tree view ;; Blingy file tree view
;; '(I'm using dirvish instead, so no treemacs config here anymore.) ;; '(I'm using dirvish instead, so no treemacs config here anymore.)
;; Blingy laggy minimap on the right ;; Blingy laggy minimap on the right
(use-feature minimap (use-package minimap
:general (general-define-key :general (general-define-key
:states 'normal :states 'normal
:prefix-command 'mini-map-prefix :prefix-command 'mini-map-prefix
@ -654,7 +645,7 @@ targets."
;; (company-fuzzy-history-backends '(company-yasnippet)) ;; (company-fuzzy-history-backends '(company-yasnippet))
;; (company-fuzzy-trigger-symbols '("." "->" "<" "\"" "'" "@")) ;; (company-fuzzy-trigger-symbols '("." "->" "<" "\"" "'" "@"))
;; (company-fuzzy-passthrough-backends '(company-capf))) ;; (company-fuzzy-passthrough-backends '(company-capf)))
(use-feature corfu (use-package corfu
:custom :custom
(completion-cycle-threshold 3) (completion-cycle-threshold 3)
(tab-always-indent 'complete) (tab-always-indent 'complete)
@ -695,12 +686,12 @@ targets."
) )
) )
(use-feature popon (use-package popon
:straight :straight
(:type git (:type git
:repo "https://codeberg.org/akib/emacs-popon") :repo "https://codeberg.org/akib/emacs-popon")
:if (not (display-graphic-p))) :if (not (display-graphic-p)))
(use-feature corfu-terminal (use-package corfu-terminal
:straight :straight
(:type git (:type git
:repo "https://codeberg.org/akib/emacs-corfu-terminal") :repo "https://codeberg.org/akib/emacs-corfu-terminal")
@ -738,7 +729,7 @@ targets."
(use-feature xwidget ;-webkit (use-package xwidget ;-webkit
:straight (:type built-in) :straight (:type built-in)
:if (featurep 'xwidget-internal) :if (featurep 'xwidget-internal)
:commands xwidget-webkit-browse-url :commands xwidget-webkit-browse-url
@ -749,24 +740,24 @@ targets."
(scroll-bar-mode -1) (scroll-bar-mode -1)
))) )))
(use-feature magit (use-package magit
:commands magit :commands magit
:hook (magit-mode . turn-off-line-numbers)) :hook (magit-mode . turn-off-line-numbers))
(use-feature hyperbole (use-package hyperbole
:diminish :diminish
;; :init (hyperbole-mode) ;; :init (hyperbole-mode)
:general (general-define-key :general (general-define-key
:states 'normal :states 'normal
"RET" 'hkey-either)) "RET" 'hkey-either))
(use-feature dconf-mode (use-package dconf-mode
:straight :straight
(:type git (:type git
:repo "https://git.mitchmarq42.xyz/mitch/dconf-mode.el")) :repo "https://git.mitchmarq42.xyz/mitch/dconf-mode.el"))
(use-feature info-variable-pitch (use-package info-variable-pitch
:straight :straight
(:type git :host github (:type git :host github
:repo "kisaragi-hiu/info-variable-pitch") :repo "kisaragi-hiu/info-variable-pitch")
@ -783,11 +774,11 @@ targets."
;; ;; (require 'exwm-config) ;; ;; (require 'exwm-config)
;; ;; (exwm-config-example) ;; ;; (exwm-config-example)
;; ) ;; )
(use-feature ani-el (use-package ani-el
:straight (:type git :repo "https://git.mitchmarq42.xyz/mitch/ani-el" :straight (:type git :repo "https://git.mitchmarq42.xyz/mitch/ani-el"
:files ("ani-el.el" "lib"))) :files ("ani-el.el" "lib")))
(use-feature slime (use-package slime
:if (file-exists-p (expand-file-name "~/quicklisp/slime-helper.el")) :if (file-exists-p (expand-file-name "~/quicklisp/slime-helper.el"))
:custom (inferior-lisp-program "sbcl") :custom (inferior-lisp-program "sbcl")
:init (load (expand-file-name "~/quicklisp/slime-helper.el"))) :init (load (expand-file-name "~/quicklisp/slime-helper.el")))
@ -796,7 +787,7 @@ targets."
;; :config (add-hook 'pdf-view-mode-hook 'turn-off-line-numbers)) ;; :config (add-hook 'pdf-view-mode-hook 'turn-off-line-numbers))
;; built in spell checker, for losers ;; built in spell checker, for losers
(use-feature flyspell (use-package flyspell
:straight (:type built-in) :straight (:type built-in)
:custom :custom
(flyspell-auto-correct-word t) (flyspell-auto-correct-word t)
@ -804,15 +795,15 @@ targets."
(org-mode . flyspell-mode)) (org-mode . flyspell-mode))
;; Java never looked so useful... ;; Java never looked so useful...
(use-feature clojure-mode) (use-package clojure-mode)
(use-feature inf-clojure) (use-package inf-clojure)
;; Let's pretend we're nevoim for a moment ;; Let's pretend we're nevoim for a moment
(use-feature tree-sitter (use-package tree-sitter
:config :config
(global-tree-sitter-mode) (global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)) (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
(use-feature tree-sitter-langs) (use-package tree-sitter-langs)
(provide 'mitch-packages) (provide 'mitch-packages)
;;; mitch-packages.el ends here ;;; mitch-packages.el ends here