src.nth.io/

summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index 67ca805..ddd1aab 100644
--- a/init.el
+++ b/init.el
@@ -140,7 +140,8 @@
;;; magit
-(magit-todos-mode t) ; show TODOs in magit status
+(with-eval-after-load 'magit-todos
+ (magit-todos-mode t)) ; show TODOs in magit status
;;; emacs-lisp-mode
@@ -198,7 +199,8 @@
;;; treesit-auto (automatically use tree-sitter modes and install grammars)
-(global-treesit-auto-mode)
+(with-eval-after-load 'treesit-auto
+ (global-treesit-auto-mode))
;;; html-mode