Hook visual-fill-column-mode into markdown-mode
This commit is contained in:
parent
77626da370
commit
62e37fdee6
2
init.el
2
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)
|
||||
|
|
Loading…
Reference in New Issue