Fix #3789: fix eglot lookup-documentation handler

Eglot replaced `eglot-help-at-point' in joaotavora/eglot@a044dec,
breaking our documentation lookup handler.
This commit is contained in:
Henrik Lissner
2020-08-20 14:07:47 -04:00
parent f6f90c9791
commit 9e9b95f49c
2 changed files with 29 additions and 9 deletions

View File

@@ -16,11 +16,11 @@
eglot-auto-display-help-buffer nil)
:config
(set-popup-rule! "^\\*eglot-help" :size 0.35 :quit t :select t)
(set-popup-rule! "^\\*eglot-help" :size 0.15 :quit t :select t)
(set-lookup-handlers! 'eglot--managed-mode
:implementations #'eglot-find-implementation
:type-definition #'eglot-find-typeDefinition
:documentation #'+eglot/documentation-lookup-handler)
:documentation #'+eglot-lookup-documentation)
(when (featurep! :checkers syntax)
(after! flycheck
(load! "autoload/flycheck-eglot"))))