nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
The Unlicense
2.58k stars 83 forks source link

fix: terragrunt_fmt formatter for formatting hcl files #167

Closed Gaurang033 closed 3 months ago

Gaurang033 commented 3 months ago

I just realized the terragurnt hclfmt command has a subtle difference than terraform fmt command. rather than giving the formatted content as output, this overwrites the file. and so this change. I tested this in local and seem to work fine.