确认已经安装Lua
在
Packages/User
目录下新建文件Lua.sublime-build
{
"cmd": ["/usr/local/bin/lua", "$file"],
"file_regex": "^(?:lua:)?[\t ](...*?):([0-9]*):?([0-9]*)",
"selector": "source.lua",
"encoding": "utf-8",
"shell": true
}
确认已经安装Lua
在Packages/User
目录下新建文件Lua.sublime-build
{
"cmd": ["/usr/local/bin/lua", "$file"],
"file_regex": "^(?:lua:)?[\t ](...*?):([0-9]*):?([0-9]*)",
"selector": "source.lua",
"encoding": "utf-8",
"shell": true
}