mdformat: add --number -> 1,2,3,4 to 1,1,1,1 is a good idea right?

This commit is contained in:
DashieTM 2024-05-28 13:48:51 +02:00
parent 5ed1986caa
commit a8377b6dcc
3 changed files with 9 additions and 7 deletions

View file

@ -219,7 +219,12 @@ return {
require("conform").format({ async = true, lsp_fallback = true })
end,
mode = "",
desc = "Format buffer",
numberdesc = "Format buffer",
},
},
formatters = {
mdformat = {
prepend_args = { "--number" },
},
},
formatters_by_ft = {