Registering a function as global variable setter. #2513
Unanswered
MikuAuahDark
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Maybe you can write a plugin to transform the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on an environment that has their global variable locked up (no global variable assignment is allowed). However, it provides
export
function. Theexport
function has this signature:In the environment I'm working on, this is the only function to call to set global variable. However I don't seem able to find a way to tell LuaLS to treat
export
function as expansion ofrawset(_G, ...)
.Is there a way to register custom global variable setter function?
Beta Was this translation helpful? Give feedback.
All reactions