lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Meta templates and Multiple Editors with different settings

Open Nexela opened this issue 3 years ago • 1 comments

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

Nexela avatar Jul 05 '22 17:07 Nexela

Use .luarc.json , example: https://github.com/sumneko/lua-language-server/blob/master/.luarc.json

sumneko avatar Jul 06 '22 06:07 sumneko

There is a short section on the .luarc.json file in the wiki.

carsakiller avatar Nov 12 '22 07:11 carsakiller