config/lvim/ftplugin/go.lua (view raw)
1 2 3 4 5
lvim.format_on_save = true lvim.lang.go.formatters = { { exe = "gofmt" }, { exe = "goimports" }, }