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

[Suggestion / Feature Request] Sandboxed scripts

Open maattch opened this issue 1 year ago • 1 comments

Lua is able to run scripts in sandbox, but there is currently no way to tell that to LuaLS (that i know).

So my suggestion would be making a annotation in the beginning of the file (---@sandbox), and all global variables inside this file wouldn't be visible to others.

maattch avatar Oct 07 '24 08:10 maattch