chore(vscode): update Lua settings

This commit is contained in:
Aire-One 2024-11-28 01:36:30 +01:00
parent 066d5dfe12
commit fde6cd1f65
1 changed files with 5 additions and 9 deletions

14
.vscode/settings.json vendored
View File

@ -1,11 +1,8 @@
{ {
"Lua.runtime.path": [ "Lua.runtime.version": "Lua 5.4",
"/usr/share/awesome/lib/?.lua", "Lua.runtime.path": ["?.lua", "?/init.lua"],
"/usr/share/awesome/lib/?/init.lua", "Lua.runtime.pathStrict": false,
"${workspaceFolder}/src/?.lua", "Lua.workspace.library": ["/usr/share/awesome/lib", "lua_modules"],
"${workspaceFolder}/src/init.lua",
"${workspaceFolder}/src/?/init.lua"
],
"[lua]": { "[lua]": {
"editor.defaultFormatter": "JohnnyMorganz.stylua" "editor.defaultFormatter": "JohnnyMorganz.stylua"
}, },
@ -16,6 +13,5 @@
".luamonrc": "lua", ".luamonrc": "lua",
"*.rockspec": "lua", "*.rockspec": "lua",
"luarocks.lock": "lua" "luarocks.lock": "lua"
}, }
"Lua.runtime.version": "Lua 5.4"
} }