LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable

Home Page:https://www.chrisatmachine.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fromDisco opened this issue · comments

commented

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

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

commented

Thanks a lot. Error warning is gone.

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.

I've raised a PR to address this deprecation warning on the 06-LSP branch. #298

Closed by #298