Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lsp for salt_ls #192

Open
dtzampanakis opened this issue Jul 11, 2022 · 0 comments
Open

Lsp for salt_ls #192

dtzampanakis opened this issue Jul 11, 2022 · 0 comments

Comments

@dtzampanakis
Copy link

dtzampanakis commented Jul 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant