From fc6636428904b801518b7409f0b6e34ca77619fb Mon Sep 17 00:00:00 2001 From: geloman Date: Tue, 9 Jul 2024 21:08:38 +0800 Subject: [PATCH] Add terraform_fmt formatter to neovim --- nvim/lua/plugins/formatting.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/lua/plugins/formatting.lua b/nvim/lua/plugins/formatting.lua index fa3ed91..5ae3e6c 100644 --- a/nvim/lua/plugins/formatting.lua +++ b/nvim/lua/plugins/formatting.lua @@ -3,6 +3,7 @@ return { event = 'BufWritePre', opts = { formatters_by_ft = { + terraform = { 'terraform_fmt' }, lua = { 'stylua' }, python = { 'black' }, go = { 'gofmt' },