lua-language-server
lua-language-server copied to clipboard
Relative paths for library files break in a multi workspace setup
Vscode Latest log.log
Each workspace has it its own .luarc file
If I use a relative path for workspace.library in a multi workspace setup "../../factorio-api/", then the files are not used correctly

However if I use an absolute path for a workspace, that workspace will work correctly
This does not happen if the relative path is in only 1 of the workspaces with the other being empty
I can not reproduce this
This issue isn't spesific to multi-workspace projects as I am currently running into this issue without multi-workspace.
To reproduce;
Have 2 folders, lets say foo and bar
Create a lua file in bar, lets say bar/potato.lua
Open foo and add ../bar to the Lua.workspace.library setting.
From the foo folder, try require that potato.lua, it will have no typing info.
However, if you used an absolute path, eg C:/blah/blah/bar, it will have typing info.
Is related with #1385 ?
Any updates @Nexela?