From 62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 8 Feb 2022 14:16:40 -0600 Subject: Hook visual-fill-column-mode into markdown-mode --- init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 5f50e6a..34a9112 100644 --- a/init.el +++ b/init.el @@ -1559,6 +1559,8 @@ See also `crux-reopen-as-root-mode'." (add-to-list 'auto-mode-alist (cons (rx (or ".md" ".markdown" ".mdown") eos) 'markdown-mode)) + (with-eval-after-load 'visual-fill-column + (:hook #'visual-fill-column-mode)) (with-eval-after-load 'apheleia (when-let ((mdfmt-exe (executable-find "markdownfmt"))) (setf (alist-get 'markdownfmt apheleia-formatters) mdfmt-exe) -- cgit 1.4.1-21-gabe81