kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

[mason-lspconfig.nvim] Server "lua_ls" is not a valid entry in ensure_installed. (Solved)

Open ZoeLogiiK opened this issue 2 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

Fresh install of Kickstart.nvim comes with a Mason lsp.nvim error on NeoVim Start up. To Reproduce Steps to reproduce the behavior:

  1. ... I copy the init.lua file from this Repo and pasted to my .config/nvim

Desktop (please complete the following information):

  • OS: WSL2 (Ubuntu)
  • Terminal: Windows Terminal

** Neovim Version **

  • Output of running :version from inside of neovim:

:version NVIM v0.9.0-dev-614+ge35b9020b Build type: Release LuaJIT 2.1.0-beta3 Compiled by zoelogiik@Sombra

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

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/share/nvim"

ZoeLogiiK avatar Feb 23 '23 07:02 ZoeLogiiK

Edit: Problem Solved

Update Plugins with ":Lazy, U" to update date all the plugins.

Problem fixed.

ZoeLogiiK avatar Feb 23 '23 07:02 ZoeLogiiK

I'm curious - isn't it generally a good practice to pin commits? What is kickstart.nvim's stance on this?

ihgann avatar Mar 09 '23 09:03 ihgann

Edit: Problem Solved

Update Plugins with ":Lazy, U" to update date all the plugins.

Problem fixed.

Will you kindly share the steps you took to resolve this persistent error?

adilJamshad avatar Mar 26 '23 21:03 adilJamshad

I get this same issue and updating through :Lazy does not resolve for me.

image

If anybody could advise how to resolve this then that would be amazing!

Phil.

Phil-T1 avatar Mar 27 '23 11:03 Phil-T1

I get this same issue and updating through :Lazy does not resolve for me.

image

If anybody could advise how to resolve this then that would be amazing!

Phil.

Hey Phil,

I just opened nvim and executed :MasonUpdate. This has resolved this warning.

adilJamshad avatar Mar 28 '23 09:03 adilJamshad

Thanks!

That raised the error that it couldn't unzip the package - oops! Unzip was not installed in my Docker env. Sudo apt install unzip and then running nvim again fixed immediately 👍

Phil-T1 avatar Mar 28 '23 10:03 Phil-T1