Add auto-fill-mode stuff

This commit is contained in:
Alexander Rosenberg 2023-12-13 01:28:49 -08:00
parent 56e0d1d972
commit 3484b81864
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

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