add go formatter to lsp config

This commit is contained in:
jc 2024-02-13 18:16:25 -05:00
commit 237f863adc
No known key found for this signature in database

View file

@ -36,6 +36,7 @@ return {
typescript = { "prettierd" },
javascriptreact = { "prettierd" },
typescriptreact = { "prettierd" },
go = { "gofumpt" },
},
format_on_save = function(bufnr)
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then