This tiny plugin sets up Vim so that it can load errors from a LÖVE (love2d) program. The errors are put in the quickfix list just as if they were compiler errors. Unlike vim-lua-ftplugin, vim-love-efm not only handles syntax errors, but also runtime errors.
For this to work you need to launch your application with the Vim :make
command.
Technically, this plugin sets the errorformat
and makeprg
options
whenever a .lua
file is loaded.