Hello everyone !
I recently had to update my system and since then I've noticed something odd with pyright. When I open a project and my lsp server starts with pyright, the file I first opened to open the project doesn't work well. I don't get the usual autocompletion, the errors listed by flycheck all appear in the first in the first lines and don't get removed if i correct the acutal error, ....
And this only happens in the very first file which started the server ! On top of that I've also noticed that it only happens when I have more than one listed lsp workspace folder using pyright.
My current workaround is to kill the buffer and reopen the file again but it would beetter if I could get rid of it entirely.
I use doom emacs with pyright and lsp and I also use pyenv for my virtualenvs with the pyenv package which allows emacs to automatically detect the local version I set for a project and use it.
It's very weird and I have a hard time finding the root of the problem so if someone had a similar issue at some point or as any clue on what to do it would be very much appreciated !