lua-language-server
lua-language-server copied to clipboard
Meta templates and Multiple Editors with different settings
Using Vscode but I image it will work similarly on other editors Open 2 editors
In Editor #1 set "Lua.runtime.builtin": {"math": "disable"} in the workspace or folder settings.json
In Editor #2 create somefile.lua and print(math.random()) Warning will be listed
Use .luarc.json , example: https://github.com/sumneko/lua-language-server/blob/master/.luarc.json
There is a short section on the .luarc.json file in the wiki.