HallerPatrick / py_lsp.nvim

Lsp Plugin for working with Python virtual environments
97 stars 11 forks source link

Update optional dependency lsp installer #10

Closed HallerPatrick closed 5 months ago

HallerPatrick commented 2 years ago

Due to deprecation use new lsp installer: https://github.com/williamboman/nvim-lsp-installer

lixiao189 commented 2 years ago

Hello, why after installing this plugin, the neovim prompt that pyright-langserver couldn't be found.

image

PS: I use the nvim-lsp-installer

lixiao189 commented 2 years ago
image

I just add setup like this, did I do something wrong?

HallerPatrick commented 2 years ago

Hey @lixiao189,

sorry for the late responds. The host_python is used for creating venvs inside of Neovim. And is not considered for a place for the language server.

But you indeed right that the language server couldn't be found from this plugin, which I fixed now. So if pyright is installed with nvim-lsp-installer it now should work :)

HallerPatrick commented 5 months ago

stale