golangci-lint
last updated: Oct 20, 2023
To set the errorfrmat, so I can get the errors in the quickfix (via this comment):
set errorformat=%A%f:%l:%c:\ %m,%-G%.%#
Then to run it and populate the quickfix (open with :copen
):
:cexpr system('golangci-lint run')
TODO: wrap this up into a nice command