summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-02-08 14:16:40 -0600
committerCase Duckworth2022-02-08 14:16:40 -0600
commit62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a (patch)
tree353732accc996e31779278ff9426a31a1ab8aea6 /init.el
parentAdd yaoddmuse (diff)
downloademacs-62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a.tar.gz
emacs-62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a.zip
Hook visual-fill-column-mode into markdown-mode
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
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'."
1559 (add-to-list 'auto-mode-alist (cons (rx (or ".md" ".markdown" ".mdown") 1559 (add-to-list 'auto-mode-alist (cons (rx (or ".md" ".markdown" ".mdown")
1560 eos) 1560 eos)
1561 'markdown-mode)) 1561 'markdown-mode))
1562 (with-eval-after-load 'visual-fill-column
1563 (:hook #'visual-fill-column-mode))
1562 (with-eval-after-load 'apheleia 1564 (with-eval-after-load 'apheleia
1563 (when-let ((mdfmt-exe (executable-find "markdownfmt"))) 1565 (when-let ((mdfmt-exe (executable-find "markdownfmt")))
1564 (setf (alist-get 'markdownfmt apheleia-formatters) mdfmt-exe) 1566 (setf (alist-get 'markdownfmt apheleia-formatters) mdfmt-exe)