10 questions
1
vote
0
answers
133
views
How to let pylsp find imports in local project?
When starting my editor with pylsp inside a projects folder I can see the LSP root dir is chosen to be the top folder, where .git is. However the python code is located in a subfolder so the ...
3
votes
1
answer
674
views
No module named pylsp.plugins.rope_rename
I use nvim with packer but after installation of pylsp with Mason, I have this error:
Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/client.lua:588: RPC[Error] ...
2
votes
0
answers
2k
views
How to configure individual LSPs (specifically pylsp) in Neovim using Mason, mason-lspconfig, and lspconfig plugins
When using pylsp with Neovim, I get errors such as E302 expected 2 blank lines, found 1 and E741 ambiguous variable name 'l'. Simple formatting errors such as these seem pointless to me and clutter my ...
1
vote
1
answer
587
views
Neovim - LSP double renaming problem with using Pyright and Pylsp
I am using Pyright LSP as main LSP server and pylsp for pep8 validation but is there problem with renaming. It happens 2 times a row: one from Pyright and another from pylsp. What is wrong in my ...
1
vote
0
answers
142
views
Resolving Python Symbols with Wildcard Imports using python-lsp-server
I've been using the python-lsp-server to analyze a Python project and extract symbol definitions and references. The server works well for explicit imports, but I've encountered an issue when dealing ...