aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
authorScott McKendry <39483124+scottmckendry@users.noreply.github.com>2024-04-14 09:40:13 +1200
committerGitHub <noreply@github.com>2024-04-13 14:40:13 -0700
commit588f357d305943371de5c945aea65959fd4d80b9 (patch)
tree22e8c7e2380635a71c5874ce16821c6ea4bb1c1d /lua/conform
parent9d5ba06d6ee7418c674f498634617416d15b6239 (diff)
feat: add support for bicep (#368)
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/bicep.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/bicep.lua b/lua/conform/formatters/bicep.lua
new file mode 100644
index 0000000..17ccbf1
--- /dev/null
+++ b/lua/conform/formatters/bicep.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/Azure/bicep",
+ description = "Bicep is a Domain Specific Language (DSL) for deploying Azure resources declaratively.",
+ },
+ command = "bicep",
+ args = { "format", "--stdout", "$FILENAME" },
+}