Tencent / LuaHelper

LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.
Other
588 stars 91 forks source link

Bootstrap file at start #191

Open OldStarchy opened 5 months ago

OldStarchy commented 5 months ago

I would like to run a bootstrap.lua file when running other files.

eg. lua myFile.lua arg1 arg2 should be executed as lua bootstrap.lua myFile.lua arg1 arg2

I could not find any setting to configure this.

I tried

    "luaPath": "lua boostrap.lua",

and

    "program": "lua",
    "args": ["boostrap.lua"],