blob: 2782e963306861a6e879f215d6ce8de4afad93b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/uncrustify/uncrustify",
description = "A source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and Vala.",
},
command = "uncrustify",
args = function(ctx)
return { "-q", "-l", vim.bo[ctx.buf].filetype:upper() }
end,
}
|