mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user