neovim / nvim-lspconfig

Quickstart configs for Nvim LSP
Apache License 2.0
9.98k stars 2.04k forks source link

Lsp shows not installed but is actually installed #3185

Closed HyperAfnan closed 1 month ago

HyperAfnan commented 1 month ago

Description

Hey I've been trying to configure language servers for my web development but I'm have an issue while setting it up I've installed the language servers but it's showing that it isn't installed Screenshot_20240531_110229_Termux Screenshot_20240531_110109_Termux

HyperAfnan commented 1 month ago

Screenshot_20240531_110828_Termux This is the screenshot of LspInfo

seanbreckenridge commented 1 month ago

This is just a hunch since you're on termux, but if you edit emmet-language-server (nvim "$(which emmet-language-server)"), does it have a shebang at the top like #!/usr/bin/env node?

I don't know the reason why, but I've had issues with termux resolving those.

If you change it to a full path to node on termux like #!/data/data/com.termux/files/usr/bin/node, thats fixed the issue I've had with bash-language-server in the past, so might work here as well.

HyperAfnan commented 1 month ago

Yeah it's now working Thanks for the help man