Lua Language Server types for Recoil Engine.
Add this as a submodule of your Recoil project.
git submodule add https://github.com/beyond-all-reason/recoil-lua-library
Then create .luarc.json
at root with the following options:
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "Lua 5.1",
"completion.requireSeparator": "/",
"runtime.path": [
"?",
"?.lua"
],
"workspace.library": [
"recoil-lua-library"
],
"runtime.special": {
"VFS.Include": "require",
"include": "require",
"shard_include": "require"
}
}