summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-13 21:14:01 +0000
committernoa@gaiwan.org2024-06-13 21:14:01 +0000
commitb40d099576308ad1213ea29a9a2d926a57a58cec (patch)
treeb8ce5b3fe4d76504a4ad9ffee3d062d173f239dc
parentdcf3bd49a0928de2e4afe4967089796e4993a25a (diff)
Rewrite spell-fu configuration to not use use-package
-rw-r--r--emacs/init.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 5b07cb7..cf42280 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -163,9 +163,8 @@ and when JID is not in `jabber-activity-banned'."
 
 
 ;; also check out jinx https://github.com/minad/jinx
-(use-package spell-fu
-	:ensure t
-	:hook (text-mode . spell-fu-mode))
+(use-package spell-fu :ensure t)
+(add-hook 'text-mode-hook #'spell-fu-mode)
 
 ;;; Completing-read everywhere with consult