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

[lspconfig] Cannot access configuration for lua_ls. Ensure this server is listed in `server_co nfigurations.md` or added as a custom server. #317

Open Tagabey opened 10 months ago

Tagabey commented 10 months ago

Hi, When I add dot files ino the ~/.config/nvim directory, after neovim installation, I have faced with this problem. What does it cause that problem? Actually I don't know how to install a LSP server by using Mason. I install lua_language_server using by Mason but it doesn't work. Otherwise I am struggling with stylua and clang-formatter. I need some generall information. Thaks for help I am using CachyOs. [lspconfig] Cannot access configuration for lua_ls. Ensure this server is listed in server_configurations.md or added as a custom server.

gnmearacaun commented 10 months ago

Generally you bring up the interface with the :Mason command (toggle keyboard shortcut help within Mason with g?). You scroll down to the language server you want to install and press i. As for clang, I don't really use it. For general help you could ask on our discord/matrix https://matrix.to/#/#neovim-atmachine:matrix.org

davidprokopec commented 9 months ago

Having the same problem with lua_ls. Using ubuntu 23.04

spaceCabbage commented 9 months ago

i too am stuck here

Dhrooven commented 6 months ago

same issue. Any solution?