lua-language-server
lua-language-server copied to clipboard
What are the necessary files?
After fixing some errors and managing to correctly compile lua-language-server I executed bin/lua-language-server and it works, but when coping this single executable to ~/.local/bin it stops working and give this error:
./lua-language-server: cannot open (bootstrap.lua): No such file or directory
I tried coping the whole bin folder to ~/.local/bin and when running lua-language-server it shows:
./lua-language-server: (bootstrap.lua):85: cannot open ~/.local/bin/main.lua: No such file or directory
stack traceback:
[C]: in function 'assert'
(bootstrap.lua):85: in main chunk
[C]: in ?
If I move main.lua one directory back into ~/.local/bin it comes back to the first error.
What is the right way of install it? Running directly from the source folder doesn't seem like a good approach