summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.el b/init.el index be470ab..74d08a6 100644 --- a/init.el +++ b/init.el
@@ -1188,6 +1188,17 @@ See also `crux-reopen-as-root-mode'."
1188(setup (:straight marginalia) 1188(setup (:straight marginalia)
1189 (marginalia-mode +1)) 1189 (marginalia-mode +1))
1190 1190
1191(setup (:straight markdown-mode)
1192 (:option markdown-hide-markup t)
1193 (add-to-list 'auto-mode-alist (cons (rx (or ".md" ".markdown" ".mdown")
1194 eos)
1195 'markdown-mode))
1196 (with-eval-after-load 'apheleia
1197 (when-let ((mdfmt-exe (executable-find "markdownfmt")))
1198 (setf (alist-get 'markdownfmt apheleia-formatters) mdfmt-exe)
1199 (setf (alist-get 'markdown-mode apheleia-mode-alist) 'markdownfmt)
1200 (setf (alist-get 'gfm-mode apheleia-mode-alist) 'markdownfmt))))
1201
1191(setup (:straight minions) 1202(setup (:straight minions)
1192 (:option minions-prominent-modes 1203 (:option minions-prominent-modes
1193 '(tracking-mode)) 1204 '(tracking-mode))