blob: 57c48e427df1774bc63c02bb5828df070ca6c23d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/lukas-reineke/cbfmt",
description = "A tool to format codeblocks inside markdown and org documents.",
},
command = "cbfmt",
args = { "--write", "--best-effort", "$FILENAME" },
cwd = util.root_file({
-- https://github.com/lukas-reineke/cbfmt#config
".cbfmt.toml",
}),
stdin = false,
}
|