Problem this feature should fix
When opening a file in code editor (e.g. lua script), the file will be opened, and the directory containing the file will be used as the current workdir. This is an issue since the .luarc.json is at the root of the project, and is required for Lua LSP to function properly.
Expected solution
Update custom code editor command to have both:
{path}: path to the file
{workdir}: project folder
The default editor command could look like:
code {workdir} --goto {path}
Problem this feature should fix
When opening a file in code editor (e.g. lua script), the file will be opened, and the directory containing the file will be used as the current workdir. This is an issue since the
.luarc.jsonis at the root of the project, and is required for Lua LSP to function properly.Expected solution
Update custom code editor command to have both:
{path}: path to the file{workdir}: project folderThe default editor command could look like: