I'm using eglot
with pyright language server, whenever I write anything in the buffer that produces an error (specifically, variable not defined error) and then delete it, pyright still complains about it, here is an example:
in this picture it complains that variable outjj not defined
now when I delete from the beginning of the error line, the same variable hidden get moved to the previous line. I cannot delete the variable or anything.
PS: I used pyright with lsp-mode
before but never had this problem.
software versions:
emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-01
elgot: 1.9
pyright: 1.1.166