summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 38a28d8c..e34df4ca 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -220,6 +220,7 @@ With two prefix arguments, write out the day and month name."
 (use-package vertico
   :ghook ('after-init-hook #'vertico-mode))
 (use-package prescient
+  :defer 1
   :config (progn
             (setq prescient-history-length 10000)
             (prescient-persist-mode +1)))
@@ -368,7 +369,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :config (global-anzu-mode +1))
 
 (use-package evil-collection
-  :after (evil)
   :demand t
   :commands (evil-collection-init)
   :config (progn
@@ -454,7 +454,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :gfhook #'evil-org-set-key-theme)
 
 (use-package evil-textobj-tree-sitter
-  :after evil
   :defer 5
   :config (progn
             (defun etts/start-of-next-function ()
@@ -538,7 +537,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                   eldoc-echo-area-use-multiline-p nil)
             (global-eldoc-mode +1)))
 
-(use-package eldoc-box)
+(use-package eldoc-box
+  :defer t)
 
 (use-package ehelp
   :defer 15
@@ -919,11 +919,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (envrc-global-mode)))
 
 (use-package magit
-  :defer 5
   :commands (magit-status magit-dispatch)
   :init (progn
-          (customize-set-value 'magit-auto-revert-mode nil)
-          (require 'magit-extras))
+          (customize-set-value 'magit-auto-revert-mode nil))
   :general ([remap project-vc-dir] #'magit-project-status)
   :config (progn
             (setq magit-section-visibility-indicator nil
@@ -932,7 +930,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (remove-hook 'magit-status-sections-hook 'magit-insert-tags-header)
             (remove-hook 'magit-section-highlight-hook 'magit-section-highlight)
             (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection)
-            (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight)))
+            (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight)
+            (require 'magit-extras)))
 
 (use-package magit-filenotify
   :after magit
@@ -1014,6 +1013,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             python-mode-hook
             rustic-mode-hook)))
 (use-package tree-sitter-langs
+  :defer 30
   :after tree-sitter)
 
 (use-package tree-sitter-indent