Otherwise, the asynch eldoc action will immediately send the
textDocument/documentHighlight requests, without understanding that
they need to be deferred a bit more.
* eglot.el (eglot--signal-textDocument/didChange): Set the spinner
here.
:rangeLength len
:text after-text)])))))
(setq eglot--recent-changes (cons [] []))
+ (setf (eglot--spinner server) (list nil :textDocument/didChange t))
(eglot--call-deferred server))))
(defun eglot--signal-textDocument/didOpen ()