chore(format): add formatters for bash, markdown, and yaml

pull/1386/head
Juliano Barbosa
parent 73fb8e52a4
commit cbc15919a7
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D

@ -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' },
},
},
},

Loading…
Cancel
Save