diff --git a/lua/conform/formatters/dprint.lua b/lua/conform/formatters/dprint.lua new file mode 100644 index 00000000000..bf35981a7c1 --- /dev/null +++ b/lua/conform/formatters/dprint.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/dprint/dprint", + description = "Pluggable and configurable code formatting platform written in Rust.", + }, + command = "dprint", + args = { "fmt", "--stdin", "$FILENAME" }, +}