From cbc15919a7c1981b9e976860c6077b35b7f2d17f Mon Sep 17 00:00:00 2001 From: Juliano Barbosa Date: Fri, 23 Aug 2024 07:14:15 -0300 Subject: [PATCH] chore(format): add formatters for bash, markdown, and yaml --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 0e45362f..08a6fa1c 100644 --- a/init.lua +++ b/init.lua @@ -739,14 +739,17 @@ require('lazy').setup({ } end, formatters_by_ft = { + bash = { 'shellcheck' }, hcl = { 'fmt' }, lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially python = { 'isort', 'black' }, - terraform = { 'terraform_fmt' }, + markdown = { 'inject' }, -- -- You can use 'stop_after_first' to run the first available formatter from the list javascript = { 'prettierd', 'prettier', stop_after_first = true }, + terraform = { 'terraform_fmt' }, + yaml = { 'yamlfmt' }, }, }, },