LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.18k forks source link

sumneko_lua is deprecated, use lua_ls instead. See :h deprecated #294

Closed fromDisco closed 1 year ago

fromDisco commented 1 year ago

Hello, i follow the fantastic NeoVim from Scratch Tutorial. I am a beginner in terms of NeoVim. From branch 06 there is the error message "sumneko_lua is deprecated, use lua_ls instead."

I research a bit and found out, that this problem is due to renaming of the plugin. Will this be fixed in the repo, or will there be a guide, how to fix this?

Thanks a lot Michel

Alexis12119 commented 1 year ago

You just need to rename sumneko_lua to lua_ls in your config and it'll work again perfectly.

fromDisco commented 1 year ago

Thanks a lot. Error warning is gone.

trekie86 commented 1 year ago

You also need to rename lua/user/lsp/settings/sumneko_lua.lua to lua/user/lsp/settings/lua_ls.lua to gain the same configuration values back, such as the global vim ignore.

trekie86 commented 1 year ago

I've raised a PR to address this deprecation warning on the 06-LSP branch. https://github.com/LunarVim/Neovim-from-scratch/pull/298

Alexis12119 commented 1 year ago

Nice

gnmearacaun commented 1 year ago

Closed by #298