Cannot Quit Neovim when Pyright Enabled (hangs) #5134
Replies: 2 comments
-
I have the same problem also on Ubuntu 22.04 and with neovim 0.10.0-dev (from PPA). The problem seemed to start yesterday or the day before perhaps but I don't remember updating or changing anything. I am not sure exactly what changed to cause this problem since according to Mason pyright had not been updated. I have now used updated to the latest version of pyright (1.1.309) but the problem is still there. The problem only happens if I am in a project directory that has a pyproject.toml or setup.py file (even if empty) e.g.: $ mkdir demo
$ cd demo
$ nvim t.py # works fine and I can quit with :q
$ nvim t.py # still works fine
$ touch pyproject.toml # empty pyproject.toml
$ nvim t.py # now :q hangs and I have to run killall nvim I enabled debugging with
|
Beta Was this translation helpful? Give feedback.
-
What I have learned is that this was broken in main: neovim/neovim#22833 (comment) It was fixed in neovim/neovim@33687f5 I removed the PPA version and switched to using the AppImage, which I'll manage manually. My new workflow (at least until it changes again) is to download the AppImage, put it in ~/Applications and then make a simlink to /usr/bin/nvim |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm not sure where the right place to seek help for this is, so I thought I'd try here. My Neovim Pyright-LSP suddenly stopped working today. I'm not sure what changed but now if Pyright is enabled and I try to quit, the quit will just hang forever. I'm not even sure how to debug this because the whole program freezes and I have to kill the terminal. Anyone have suggestions on what to do? Here are the relevant parts of my
init.vim
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions