I have install gofumpt with Mason and update init.lua.
But open a main.go file, the formatter not work.
To Reproduce
:MasonInstall gofumpt
update init.lua
`
formatters_by_ft = {
lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
-- You can use a sub-list to tell conform to run *until* a formatter
-- is found.
-- javascript = { { "prettierd", "prettier" } },
go = { 'gofumpt' },
},
},`
Describe the bug
I have install gofumpt with Mason and update init.lua. But open a main.go file, the formatter not work.
To Reproduce
:MasonInstall gofumpt
update init.lua ` formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" },
Desktop
Neovim Version
NVIM v0.9.5 Build type: Release LuaJIT 2.1.1692716794