My eglot just stops working properly from time to time. Every once in a while, it’ll get “out of sync” from the buffer. i.e. even after I correct the syntax error it reports, it still sends the old code to LSP, and therefore keeps reporting the fixed errors.
`elgot-reconnect` fixes it, but it’s really not a solution to call `eglot-reconnect` every 10 minutes.