feat(lang): Improve markdown formatting on save

Add additional CLI flags for prettier that so formatted markdown is
wrapped to 80 columns.
This commit is contained in:
2020-07-21 18:23:57 +01:00
parent a04e57f887
commit 8376b71b7c

View File

@@ -40,8 +40,10 @@
:init
(defun siren-markdown-mode-setup ()
(setq markdown-asymmetric-header t
whitespace-action nil)
(setq-local markdown-asymmetric-header t
prettier-js-args '("--print-width" "80"
"--prose-wrap" "always")
whitespace-action nil)
(siren-display-fill-column)
(siren-display-line-numbers)