Remove elgot dependency

This commit is contained in:
Yuan Fu 2018-12-11 09:13:44 -05:00
parent 00f3b665bb
commit 8a11b796d4
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -78,11 +78,7 @@
(defun eglot-doc-help-at-point ()
"Display hover info at point in a childframe."
(interactive)
(eglot--dbind ((Hover) contents range)
(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))))
(eldoc-message (funcall eldoc-documentation-function)))
(defun eglot-doc-quit-frame ()
"Hide childframe used by eglot doc."