* eglot-tests.el (edebug): Require it.
(eglot--call-with-dirs-and-files): Simplify.
(eglot--call-with-test-timeout): Don't timeout if edebug.
(auto-detect-running-server, auto-reconnect): Skip unless rls is
found.
(basic-completions): New test.
(hover-after-completions): New failing test.
* eglot.el (eglot-eldoc-function): Force write
eldoc-last-message, for tests sake.
proc :textDocument/hover position-params
:success-fn (eglot--lambda (&key contents range)
(unless sig-showing
- (when-buffer-window
- (eldoc-message (eglot--hover-info contents range)))))
+ (setq eldoc-last-message (eglot--hover-info contents range))
+ (when-buffer-window (eldoc-message eldoc-last-message))))
:deferred :textDocument/hover))
(when (eglot--server-capable :documentHighlightProvider)
(eglot--async-request