Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Update comments with old document/onHover API #4627

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ supported by the language server."
:group 'lsp-mode)

(defcustom lsp-eldoc-render-all nil
"Display all of the info returned by document/onHover.
"Display all of the info returned by textDocument/hover.
If this is set to nil, `eldoc' will show only the symbol information."
:type 'boolean
:group 'lsp-mode)
Expand Down Expand Up @@ -5580,7 +5580,7 @@ When language is nil render as markup if `markdown-mode' is loaded."
(car (s-lines (s-trim (lsp--render-element contents)))))

(defun lsp--render-on-hover-content (contents render-all)
"Render the content received from `document/onHover' request.
"Render the content received from `textDocument/hover' request.
CONTENTS - MarkedString | MarkedString[] | MarkupContent
RENDER-ALL - nil if only the signature should be rendered."
(cond
Expand Down
Loading