Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Format hcl/nomad filetypes using terraform fmt (#1353) #1370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions lua/null-ls/builtins/formatting/hclfmt.lua

This file was deleted.

2 changes: 1 addition & 1 deletion lua/null-ls/builtins/formatting/terraform_fmt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ return h.make_builtin({
description = "The terraform-fmt command rewrites `terraform` configuration files to a canonical format and style.",
},
method = FORMATTING,
filetypes = { "terraform", "tf", "terraform-vars" },
filetypes = { "terraform", "tf", "terraform-vars", "hcl", "nomad" },
generator_opts = {
command = "terraform",
args = {
Expand Down