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.17k forks source link

Lsp for salt_ls #192

Open dtzampanakis opened 2 years ago

dtzampanakis commented 2 years ago

I installed the salt_ls with pip install salt-lsp

after that i activate it with :LspInstallInfo and i updated the servers list in the configs.lua file.

When i open a .sls file the :LspInfo shows 0 client(s) attached to this buffer: Configured servers list: jsonls, sumneko_lua, salt_ls.

Even when i try the :set ft i get filetype=

Is there any other step that i missing? or the lsp to salt_ls is not working?

I noticed that when i activate an Lsp with :LspInstallInfo the file goes to ~/.local/share/nvim/lsp_servers/salt_ls where i have 3 folders: jsonls, salt_ls, sumneko_lua. But the folder ~/.config/nvim/lua/user/lsp/settings contains only 2 files jsonls.lua and sumneko_lua.lua.

My neovim version is NVIM v0.8.0-dev+595-g95c65a6b2 and i use the config from git clone https://github.com/LunarVim/Neovim-from-scratch.git ~/.config/nvim