1

I installed this config for NeoVim: https://github.com/LunarVim/Neovim-from-scratch , and when i open some .lua or another file the message below says 'Client 2 quit with exit code 127 and signal 0'

I tired to reinstall servers and config, and afterwards looked at :LspLog

[START][2023-03-29 20:33:49] LSP logging initiated

[ERROR][2023-03-29 20:33:49] .../vim/lsp/rpc.lua:733 "rpc" "lua-language-server" "stderr" "/data/data/ com.termux/files/home/.local/share/nvim/mason/bin/lua-language-server: line 3: /data/data/com.termux/ files/home/.local/share/nvim/mason/packages/lua-language-server/extension/server/bin/lua-language-server: cannot execute: required file not found\n"

what should i do here?

Bittermann
  • 11
  • 1
  • 2

1 Answers1

1
  • Change you sumneko_lua server to lua_ls in the ~/.config/nvim/lua/user/lsp/mason.lua because sumneko_lua is depricated,actually they have not updated yet
  • Or if you want have better understanding you can you use my config as refrence which is based on nvim-basic-ide config but it is upto date.
  • My configs link.
  • And also let know if your issue got fixed.
Sadik Saifi
  • 390
  • 2
  • 9
  • Hi, thank you for you help, i fixed my problem by uninstalling sumneko_lua from Mason and installing lua_language_server from my package manager (pkg in termux). – Bittermann Apr 02 '23 at 17:43