diff --git a/README.md b/README.md index 03e27516..01c8a7ae 100644 --- a/README.md +++ b/README.md @@ -366,6 +366,7 @@ You can view this list in vim with `:help conform-formatters` - [ruff_format](https://docs.astral.sh/ruff/) - An extremely fast Python linter, written in Rust. Formatter subcommand. - [ruff_organize_imports](https://docs.astral.sh/ruff/) - An extremely fast Python linter, written in Rust. Organize imports. - [rufo](https://github.com/ruby-formatter/rufo) - Rufo is an opinionated ruby formatter. +- [rumdl](https://github.com/rvben/rumdl) - Markdown Linter and Formatter written in Rust. - [runic](https://github.com/fredrikekre/Runic.jl) - Julia code formatter. - [rustfmt](https://github.com/rust-lang/rustfmt) - A tool for formatting rust code according to style guidelines. - [rustywind](https://github.com/avencera/rustywind) - A tool for formatting Tailwind CSS classes. diff --git a/doc/conform.txt b/doc/conform.txt index 6cec5622..f33a178c 100644 --- a/doc/conform.txt +++ b/doc/conform.txt @@ -517,6 +517,7 @@ FORMATTERS *conform-formatter `ruff_organize_imports` - An extremely fast Python linter, written in Rust. Organize imports. `rufo` - Rufo is an opinionated ruby formatter. +`rumdl` - Markdown Linter and Formatter written in Rust. `runic` - Julia code formatter. `rustfmt` - A tool for formatting rust code according to style guidelines. `rustywind` - A tool for formatting Tailwind CSS classes. diff --git a/lua/conform/formatters/rumdl.lua b/lua/conform/formatters/rumdl.lua new file mode 100644 index 00000000..54df31d9 --- /dev/null +++ b/lua/conform/formatters/rumdl.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/rvben/rumdl", + description = "Markdown Linter and Formatter written in Rust.", + }, + command = "rumdl", + args = { "fmt", "-" }, + stdin = true, +}