Tencent / LuaHelper

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

Bootstrap file at start #191

Open OldStarchy opened 9 months ago

OldStarchy commented 9 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"],