wolf: format lua
This commit is contained in:
parent
43cc2a179e
commit
01f27d1076
3 changed files with 54 additions and 22 deletions
30
.luarc.json
Normal file
30
.luarc.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||
"workspace.checkThirdParty": false,
|
||||
"workspace.library": ["~/.local/lib/picotron-definitions"],
|
||||
"runtime.version": "Lua 5.4",
|
||||
"diagnostics.disable": ["lowercase-global"],
|
||||
"runtime.nonstandardSymbol": ["!=", "+=", "-=", "*=", "/=", "%=", "^=", "|=", "&=", "<<=", ">>=", "//"],
|
||||
"runtime.builtin": {
|
||||
"basic": "enable",
|
||||
"bit": "disable",
|
||||
"bit32": "disable",
|
||||
"builtin": "enable",
|
||||
"coroutine": "enable",
|
||||
"debug": "enable",
|
||||
"ffi": "disable",
|
||||
"io": "disable",
|
||||
"jit": "disable",
|
||||
"math": "enable",
|
||||
"os": "disable",
|
||||
"package": "disable",
|
||||
"string": "enable",
|
||||
"table": "enable",
|
||||
"table.clear": "disable",
|
||||
"table.new": "disable",
|
||||
"utf8": "enable"
|
||||
},
|
||||
"runtime.special": {
|
||||
"include": "require"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue