do not use golines as goimport default formater, #157

This commit is contained in:
ray-x 2022-07-06 08:29:59 +10:00
parent a86e9d2a29
commit 484524b875

View File

@ -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