nvim/conform: add markdown formatter
crispy-caesus crispy@crispy-caesus.eu
Wed, 14 Oct 2026 22:47:39 +0200
1 files changed,
5 insertions(+),
0 deletions(-)
M
nvim/.config/nvim/lua/crispy/plugins/conform.lua
→
nvim/.config/nvim/lua/crispy/plugins/conform.lua
@@ -23,6 +23,8 @@ lua = { "stylua" },
python = { "ruff" }, javascript = { "prettierd", "prettier", stop_after_first = true }, html = { "prettier" }, + markdown = { "mdslw" }, + }, -- Set default options default_format_opts = {@@ -34,6 +36,9 @@ -- Customize formatters
formatters = { shfmt = { append_args = { "-i", "2" }, + }, + mdslw = { + prepend_args = { "--stdin-filepath", "$FILENAME" } }, }, },