Use gofmt as a formatter for go files

This commit is contained in:
Oliver Davies 2024-10-29 12:00:00 +00:00
parent 1bc80ccef3
commit 38fb5ddb25

View file

@ -3,6 +3,7 @@ local conform = require "conform"
conform.setup {
formatters_by_ft = {
bash = { "shellcheck" },
go = { "gofmt" },
javascript = { { "prettierd", "prettier" } },
just = { "just" },
lua = { "stylua" },