From 38fb5ddb25c45057d08978d6257abd051cc97f76 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Tue, 29 Oct 2024 12:00:00 +0000
Subject: [PATCH] Use `gofmt` as a formatter for go files

---
 config/neovim/plugin/conform.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/neovim/plugin/conform.lua b/config/neovim/plugin/conform.lua
index fc5ef783..462abe4f 100644
--- a/config/neovim/plugin/conform.lua
+++ b/config/neovim/plugin/conform.lua
@@ -3,6 +3,7 @@ local conform = require "conform"
 conform.setup {
   formatters_by_ft = {
     bash = { "shellcheck" },
+    go = { "gofmt" },
     javascript = { { "prettierd", "prettier" } },
     just = { "just" },
     lua = { "stylua" },