No language server details with pyright #8020
Replies: 2 comments
-
You will want to add [language-server.pyright]
config = {} We may want to add that line to the default config as well (ref #7897 (comment)) since pyright will time out for almost every request without it. That happens because of a bug in pyright that it won't consider workspaces as ready until it gets helix/helix-term/src/application.rs Lines 687 to 692 in 7534296 Most LSP methods try to get their workspaces first so most time out blocking on that. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Summary
I can't get pyright to work, even with a 60 second timeout. Every async request times out. I have completely lost python pylsp and pyright functionality, but will focus on pyright here, since that is what I care most about.
Reproduction Steps
I have attempted a number of configs, and even updated to the latest helix commit.
I have tried a number of configs, but am currently using the following:
Helix log
~/.cache/helix/helix.log
Platform
Void Linux
Terminal Emulator
Alacritty
Helix Version
helix 23.05 (22f4f31)
Beta Was this translation helpful? Give feedback.
All reactions