mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Add linter option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user