Replies: 2 comments 2 replies
-
@damca did you even get this working? I've been trying off and on to accomplish the same thing to no avail. It's as if it processes the buffer and then "shuts down" the server. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If Pyright is crashing, you can run it from the command line usually to reproduce the crash. Then you'd be able to just debug the pyright code. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
pyright
server connects for a few seconds, provides accurate intellisense and then dies. I would like to troubleshoot the crash, but don't know how to find the logs. My overall goal is to get apyright
server within a docker container to communicate with Neovim on the host.Setup:
docker exec -i conda /bin/bash --login -c 'pyright-langserver --stdio'
from host starts a usual server. Note that if-it
is passed then the Neovim side crashes with the errorthe input device is not a TTY
(as found in~/.local/state/nvim/lsp.log
).docker_conda_pyright
. And start the language server with the following lua function:When calling
start_docker_pyright
on a file, the language server seems to work for ~5 seconds and then crashes. Any thoughts on how to best proceed troubleshooting this?Beta Was this translation helpful? Give feedback.
All reactions