From 37cbceab0a3b4979c4f0f1ae7aede0d0fa84c1d1 Mon Sep 17 00:00:00 2001 From: Jonas Ohland <32197138+jonasohland@users.noreply.github.com> Date: Mon, 13 May 2024 19:10:14 +0200 Subject: feat: add hcl formatter (hclfmt) (#402) * feat: add hclfmt hcl formatter * doc: format description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com> --- lua/conform/formatters/hcl.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/conform/formatters/hcl.lua (limited to 'lua/conform/formatters/hcl.lua') 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", +} -- cgit v1.2.3-70-g09d2