diff options
author | jicksaw <jicksaw@pm.me> | 2022-06-30 10:39:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 08:39:33 +0100 |
commit | f8c8c70f8a7ec5649b5dd3f5af559f59eff65724 (patch) | |
tree | 9b6c81da5c5f87f1dcd63410612ae11a6f1a2775 /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el | |
parent | 68fbcbd6207819b9d653362e66236ea5e04e9b7d (diff) | |
download | emacs-f8c8c70f8a7ec5649b5dd3f5af559f59eff65724.tar.gz emacs-f8c8c70f8a7ec5649b5dd3f5af559f59eff65724.tar.bz2 emacs-f8c8c70f8a7ec5649b5dd3f5af559f59eff65724.zip |
Reduce eldoc noise from hover messages
Also close https://github.com/joaotavora/eglot/issues/985
Only echo hover response content, without response range.
LSP specification says the range is meant to visualize a hover.
Maybe echoing the range is useful for some, but it seems
non-standard behavior.
Example issue: haskell-language-server responds with range set to
whole file when hovering a comment -> Large, useless eldoc
* eglot.el (eglot--hover-info): Remove text selected by range from
output
Copyright-paperwork-exempt: Yes
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/514
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions