Skip to content

Commit

Permalink
Truncate hovering information in echo area
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergroth committed Sep 12, 2018
1 parent 6f1d64c commit 2e8c1d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,8 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp."
(when-let (info (and contents
(eglot--hover-info contents
range)))
(eldoc-message info)))))
(let ((message-truncate-lines t))
(eldoc-message info))))))
:deferred :textDocument/hover))
(when (eglot--server-capable :documentHighlightProvider)
(jsonrpc-async-request
Expand Down

0 comments on commit 2e8c1d8

Please sign in to comment.