Questions tagged [python-lsp-server]

5 questions
1
vote
0 answers

Emacs LSP server inside docker container hanging on startup

I'm trying to use emacs lsp and pyright server with docker. I'm trying to use custom containers as explained here. I've managed to setup this super simple test project. The lsp server starts, however I think that emacs doesn't communicate well with…
Freder
  • 11
  • 1
1
vote
2 answers

Send to python-shell-interpreter from the project root

How can I tell the shell to always open relative to my project root? I have the following python project structure: mypyjunk ├── mypyjunk │   ├── common.py │   ├── __init__.py │   └── jitter.py ├── README.md └── tests ├── __init__.py └──…
Mittenchops
  • 289
  • 1
  • 8
0
votes
1 answer

Configure lsp-mode to start the python server when in snakemake major mode

I would like to know if it's possible to configure LSP mode to start the Python server when I work on a snakemake file (snakemake-mode), as I use heavily use Python in this mode also.
R-addict
  • 5
  • 3
0
votes
1 answer

how to configure Eglot over TRAMP?

On my laptop, I'm using eglot (sometimes lsp-mode) with pyright language server. But Now I'm trying to write some python code on Raspberry Pi (using ssh/TRAMP, in local network, from my laptop). I currently installed pyright with pip3 install…
Garid
  • 545
  • 1
  • 13
0
votes
1 answer

python linting not working with eglot

System: Mac OS 12.5 Emacs 28.1 from homebrew Python 3.9.13 using a virtual env python-lsp-server For some reason my linting, with error highlighting is not working with Python using eglot. In the screenshot below (hello_broken.cpp) you can see that…
Vince W.
  • 395
  • 2
  • 11