How do I integrate a custom build tool or test runner with Vim's :make command and quickfix list?
:set makeprg={command}
Vim's :make command runs a build program and automatically loads its output into the quickfix list so you can jump directly to errors and warnings.