Shorten Eldoc ?
#3206
Replies: 2 comments 6 replies
-
Can you elaborate a bit more?
The server response is pretty much free text. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking closer, I see there is also |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
lsp-mode's eldoc is fantastic in that it makes use of the current-argument highlighting, which I've only ever seen emacs-lisp mode do. But it also places the entire
documentation
text in the echo area (truncated, but still quite long for many functions with my lsp server pyright).Since the hover response includes ranges, perhaps showing only the documentation text up to the next newline after the last mentioned range would be useful. This would happen if
lsp-eldoc-render-all
is nil (as mine is).Beta Was this translation helpful? Give feedback.
All reactions