vis: Formatear go con goimports

This commit is contained in:
Cat /dev/Nulo 2022-04-30 23:08:33 -03:00
parent c68e7bc833
commit f570353bf3

View file

@ -45,6 +45,12 @@ local function format(file, path)
fmt = "prettier --stdin-filepath "..file.path
end
if
win.syntax == "go"
then
fmt = "goimports"
end
if fmt == nil or disable_formating then
return true
end