You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
For a few days now I have not been able to run the LSP under Neovim. In order to rule out an error in Nvim or in the configuration, I tried to start the LSP directly. I get the following error message:
"/usr/lib/lua-language-server/lua-language-server: ./main.lua:28: attempt to index a nil value (local 'value') "
The same message can also be found in the neovim LSP log file.
To Reproduce
$ lua-language-server -E /usr/share/lua-language-server/main.lua
Screenshots
Environment (please complete the following information):
OS: Windows 10, WSL2, ArchLinux , lua-language-server-git (AUR)
Additional context
I added a "print (table.concat (arg, ","))" to the beginning of the loadArgs function to see if I am doing something wrong with the arguments.
Therefore the line "--logpath=/tmp/lua-language-server.njmi/log, --metapath=/tmp/lua-language-server.njmi/meta, -E, /usr/share/lua-language-server/main.lua" can be seen in the screenshot above.
If I also add a "print(key,value)" in front of "_G[key:upper()] = value", the output looks like this
Thanks for the great work
The text was updated successfully, but these errors were encountered:
Describe the bug
For a few days now I have not been able to run the LSP under Neovim. In order to rule out an error in Nvim or in the configuration, I tried to start the LSP directly. I get the following error message:
"/usr/lib/lua-language-server/lua-language-server: ./main.lua:28: attempt to index a nil value (local 'value') "
The same message can also be found in the neovim LSP log file.
To Reproduce
$ lua-language-server -E /usr/share/lua-language-server/main.lua
Screenshots

Environment (please complete the following information):
Additional context
I added a "print (table.concat (arg, ","))" to the beginning of the loadArgs function to see if I am doing something wrong with the arguments.
Therefore the line "--logpath=/tmp/lua-language-server.njmi/log, --metapath=/tmp/lua-language-server.njmi/meta, -E, /usr/share/lua-language-server/main.lua" can be seen in the screenshot above.
If I also add a "print(key,value)" in front of "_G[key:upper()] = value", the output looks like this
Thanks for the great work
The text was updated successfully, but these errors were encountered: