Skip to content

Commit

Permalink
Format hcl/nomad filetypes using terraform fmt (jose-elias-alvarez#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Prevost committed Jan 24, 2023
1 parent 1849712 commit e1fb7e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
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

0 comments on commit e1fb7e2

Please sign in to comment.