LSP-pyright: Pyright doesn't work anymore for unsaved buffers

It seems that LSP-pyright is now broken for unsafed buffers, for which the server is enabled by default. After you created such an unsafed buffer, the server simply doesn’t respond to requests anymore, both for the buffer scheme and also for regular files, until it is restarted. It looks like as if an internal crash happend in the server.

https://github.com/sublimelsp/LSP-pyright/releases/tag/1.2.52 (pyright 1.1.333) seems to be the first affected version.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

This seems to be fixed in the latest pyright pyright 1.1.337 (without LSP’s change).