index — dots-the-third @ be05161b33cd86e68663d2b89d75a62cbe66ddf5

I don't need nix, I have a way worse solution!

nvim/conform: add markdown formatter
crispy-caesus crispy@crispy-caesus.eu
Wed, 14 Oct 2026 22:47:39 +0200
commit

be05161b33cd86e68663d2b89d75a62cbe66ddf5

parent

c14b18f3bd85e537de636da926cd95607a333b49

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
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" } }, }, },