tfm-lua-types
v2.3.9
Published
Lua Language Server environment definition for Transformice.
Downloads
8
Readme
tfm-lua-types
Lua Language Server environment definition for Transformice.
Install for your workspace
npm install --save-dev tfm-lua-types
Set your VSCode workspace settings to register our third party library.
{
"Lua.workspace.userThirdParty": [
"./node_modules/tfm-lua-types"
]
}
Finally, you should be asked to load the Transformice environment after writing your code.
Alternatively, you may directly load the types as a workspace library, rather than a third party library.
{
"Lua.workspace.library": [
+ "./node_modules/tfm-lua-types/luaLib"
]
}
Without NPM
You can choose to install this library using Git submodules or any inclusion methods of your choice instead. However, path to the userThirdParty
has to be updated accordingly.
git submodule add https://github.com/MouseTool/tfm-types.git
{
"Lua.workspace.userThirdParty": [
"./tfm-types/packages/lua-types"
]
}