Open Freed-Wu opened 1 month ago
It seems to me, that this patch https://github.com/LuaLS/lua-language-server/commit/38d83324671b4110614dbef30acef4a1543ee065 made it stop working.
The offending line is this one https://github.com/LuaLS/lua-language-server/blob/e2ca72dd54da1cafda36ff9e1266526fec54081f/script/cli/check.lua#L11
It looks like the executable name is in arg[-2]
instead of arg[-1]
. For me, arg[-1]
holds -E
, which is used as the program name when executing the check workers (confirmed by strace
)
How are you using the lua-language-server?
Command Line
Which OS are you using?
Linux
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
NO error.
Actual Behaviour
Reproduction steps
lua-language-server --check
Additional Notes
No response
Log File
No response