xolox/vim-lua-ftplugin — pull request #8 by vinsonchuong (2012-10-18 06:07:00+00:00)
Title: Do not throw when luac returns an error code.

In luac 5.1, code errors cause an error code to be returned. So, "syntax error" error codes and "undefined global variable" error codes need to be allowed through. I wasn't able to find a list of luac error codes; so, I chose to remove the "if v:shell_error" guard completely.

This fixes Issue #3