diff options
author | Case Duckworth | 2022-02-08 14:16:40 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-08 14:16:40 -0600 |
commit | 62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a (patch) | |
tree | 353732accc996e31779278ff9426a31a1ab8aea6 | |
parent | Add yaoddmuse (diff) | |
download | emacs-62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a.tar.gz emacs-62e37fdee6ab93954f1dbcc7bb11f280ec5ba08a.zip |
Hook visual-fill-column-mode into markdown-mode
-rw-r--r-- | init.el | 2 |
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) |