HallerPatrick / HallerPatrick/py_lsp.nvim

Incompatible with LSP installed by LspInstall

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
109
Forks
14
PR merge metrics
No merged PRs in 30d

Description

https://github.com/kabouzeid/nvim-lspinstall is a convenient plugin to install LSP servers. They end up in a separate directory outside of `$PATH` (`~/.local/share/nvim/lspinstall/python/./node_modules/.bin/pyright-langserver` in my case), but https://github.com/kabouzeid/nvim-lspinstall/blob/54b439241e83e0a9ce8f6bcdf3b2c560a2328792/lua/lspinstall.lua#L94 corrects the default `cmd` for `lspconfig` to point to that location. However `py_lsp` doesn't pick up on it for some reason, perhaps overriding `cmd` or `cmd_cwd` in `default_config`?

This is with `py_lsp` installed and used to set up Pyright:
image
image

And this is with `py_lsp` disabled: (note `cmd`)
image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.