First, download and install
this (ok, you have it installed, but someone else might not have it).
Then, in Sublime, go to Preferences > Package Settings > Lua Love > Settings - User; and copy/paste this:
{
"live_parser" : true,
"live_parser_style": "outline",
"live_parser_persistent": false,
"luac_path": "c:\\progra~2\\Lua\\5.1\\luac.exe"
}
Now, few notes:
1) You must escape backslash (\) with another backlash (so it becomes \\)
2) It seems you must use old dos 8.3 file naming convention (thus "progra~2")
3) I'm on Win7 x64 so my C:\Program Files\ is progra~1 and c:\Program Files (x86)\ is progra~2
4) It might be progra~1 on your machine
5) Or you can install Lua to c:\Lua\ and avoid this paths related mess
Works for me! But it only checks for syntax errors, even if you tried to run the script, you don't have FPSC:R specific functions (Prompt, Destroy, ...) so it would fail anyway...
p.s. This is all for Sublime 3. Lua Love supports Sublime 2, but I don't know if it's all same to configure plugin in Sublime 2