Add linter option

This commit is contained in:
Zachary Yedidia
2016-05-05 11:31:53 -04:00
parent 3cbb23bfbe
commit 31567c9e15
5 changed files with 91 additions and 28 deletions

View File

@@ -13,9 +13,6 @@ function go_onSave()
go_gofmt()
end
linter_lint("go build", "go build -o /dev/null 2>&1", "%f:%l: %m")
linter_lint("go lint", "golint " .. view.Buf.Path, "%f:%l:%d+: %m")
view:ReOpen()
end
end