diff --git a/lua/go/format.lua b/lua/go/format.lua index 2741f2f..bc25738 100644 --- a/lua/go/format.lua +++ b/lua/go/format.lua @@ -161,9 +161,9 @@ M.goimport = function(...) return run(args, buf, "goimports") end + -- golines base formatter is goimports local a = vim.deepcopy(goimport_args) - require("go.install").install("golines") - run(a, buf, "golines") + run(a, buf, goimport) end return M