0

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:

enter image description here

in this picture it complains that variable outjj not defined

enter image description here

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

ntriisii
  • 1
  • 4
  • What version of Emacs, Eglot and Pyright do you use ? I do not have this issue with Emacs 30.0.50, Eglot 1.15 and Pyright 1.1.315. Also did you configure Eglot or Pyright ? If you did, providing your configuration will help. – Tristan Riehs Jun 23 '23 at 11:22
  • updated the post. – ntriisii Jun 23 '23 at 12:31
  • Try to update Pyright. Also check https://emacs.stackexchange.com/questions/74713/python-language-server-with-eglot-cant-get-it-working?rq=1. – Tristan Riehs Jun 23 '23 at 21:36

0 Answers0