aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/taplo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/taplo.lua')
-rw-r--r--lua/conform/formatters/taplo.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/taplo.lua b/lua/conform/formatters/taplo.lua
new file mode 100644
index 0000000..675bed3
--- /dev/null
+++ b/lua/conform/formatters/taplo.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/tamasfe/taplo",
+ description = "A TOML toolkit written in Rust",
+ },
+ command = "taplo",
+ args = { "format", "-" },
+}