diff --git a/init.el b/init.el index 14e8f34..d776629 100644 --- a/init.el +++ b/init.el @@ -43,6 +43,7 @@ :hook ((emacs-lisp-mode . my/-emacs-lisp-mode-setup-evil-lookup) (prog-mode . electric-pair-local-mode) ((text-mode message-mode tex-mode) . flyspell-mode) + ((text-mode message-mode tex-mode) . auto-fill-mode) (prog-mode . flyspell-prog-mode)) :init (defun my/-emacs-lisp-mode-setup-evil-lookup () @@ -642,7 +643,8 @@ COMMAND and COMINT are like `compile'." (use-package rust-mode) ;; markdown -(use-package markdown-mode) +(use-package markdown-mode + :hook (markdown-mode . auto-fill-mode)) ;; groovy (use-package groovy-mode)