aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/hcl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/hcl.lua')
-rw-r--r--lua/conform/formatters/hcl.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/hcl.lua b/lua/conform/formatters/hcl.lua
new file mode 100644
index 0000000..8cffc7f
--- /dev/null
+++ b/lua/conform/formatters/hcl.lua
@@ -0,0 +1,8 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/hashicorp/hcl",
+ description = "A formatter for HCL files.",
+ },
+ command = "hclfmt",
+}