Remove elgot dependency
This commit is contained in:
parent
00f3b665bb
commit
8a11b796d4
@ -78,11 +78,7 @@
|
|||||||
(defun eglot-doc-help-at-point ()
|
(defun eglot-doc-help-at-point ()
|
||||||
"Display hover info at point in a childframe."
|
"Display hover info at point in a childframe."
|
||||||
(interactive)
|
(interactive)
|
||||||
(eglot--dbind ((Hover) contents range)
|
(eldoc-message (funcall eldoc-documentation-function)))
|
||||||
(jsonrpc-request (eglot--current-server-or-lose) :textDocument/hover
|
|
||||||
(eglot--TextDocumentPositionParams))
|
|
||||||
(when (seq-empty-p contents) (eglot--error "No hover info here"))
|
|
||||||
(eglot-doc--display (eglot--hover-info contents range))))
|
|
||||||
|
|
||||||
(defun eglot-doc-quit-frame ()
|
(defun eglot-doc-quit-frame ()
|
||||||
"Hide childframe used by eglot doc."
|
"Hide childframe used by eglot doc."
|
||||||
|
Loading…
Reference in New Issue
Block a user