aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/forge_fmt.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/forge_fmt.lua b/lua/conform/formatters/forge_fmt.lua
new file mode 100644
index 0000000..c6bdafb
--- /dev/null
+++ b/lua/conform/formatters/forge_fmt.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/foundry-rs/foundry",
+ description = "Forge is a command-line tool that ships with Foundry. Forge tests, builds, and deploys your smart contracts.",
+ },
+ command = "forge",
+ args = { "fmt", "$FILENAME" },
+ stdin = false,
+}