Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seeing message "[mason-lspconfig.nvim] Server "sumneko_lua" is not a valid entry in ensure_installed" when launching neovim #179

Closed
ajaydwarkani opened this issue Feb 16, 2023 · 7 comments

Comments

@ajaydwarkani
Copy link

I am seeing the below message every time I start the nvim

[mason-lspconfig.nvim] Server "sumneko_lua" is not a valid entry in ensure_installed. Make sure to only provide lspconfi
g server names.

image

To Reproduce
Steps to reproduce the behavior:

  1. Install neovim via brew brew install newvim
  2. Copied kickstart.nvim/init.lua to ~/.config/nvim/init.lua
  3. Launched nvim
  4. After all the packages were installed, I quit and relaunched the nvim
  5. I see the above stated message
  6. I hit enter to ignore the message
  7. nvim installs some LSPs
  8. quit and restarted the nvim, I again see the same message.

Desktop (please complete the following information):

  • OS: Mac OS Ventura 13.1
  • Terminal: zsh 5.8.1

** Neovim Version **

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Ventura

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.8.3/share/nvim"
@feoh
Copy link
Collaborator

feoh commented Feb 16, 2023

Work is onging to fix this in #178

@lashomb
Copy link

lashomb commented Feb 16, 2023

also seeing this error, same os and shell versions

@LudoPinelli
Copy link

Already fixed for the next PR as @feoh said.
As a workaround until then, you just have to replace sumneko_lua by lua_ls at line 346.

suhlig added a commit to suhlig/dotfiles that referenced this issue Feb 16, 2023
@justinfarrelldev
Copy link

Already fixed for the next PR as @feoh said. As a workaround until then, you just have to replace sumneko_lua by lua_ls at line 346.

Doing this fixed it for me, thank you!

@Josee9988
Copy link

Same here in Ubuntu 22.04

@tjdevries
Copy link
Member

Fixed in latest by #178 (but there are quite a few changes in the PR)

@definetly-not-carl
Copy link

Already fixed for the next PR as @feoh said. As a workaround until then, you just have to replace sumneko_lua by lua_ls at line 346.

I had the same issue in Fedora37, but this solved it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants