diff options
author | João Távora <joaotavora@gmail.com> | 2025-02-11 16:50:23 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2025-02-11 23:38:30 +0000 |
commit | 3fd0b802de20dc83b5d5236b6d458df73c9d4e77 (patch) | |
tree | 2dc650cc9a18549e0d02cc72b5c2ac7b7ff14ae3 /lisp/emacs-lisp | |
parent | e2991272f286af94f13d9d78ac609f08ad77183e (diff) | |
download | emacs-3fd0b802de20dc83b5d5236b6d458df73c9d4e77.tar.gz emacs-3fd0b802de20dc83b5d5236b6d458df73c9d4e77.tar.bz2 emacs-3fd0b802de20dc83b5d5236b6d458df73c9d4e77.zip |
Eglot: use Eldoc in eglot-hierarchy-mode
Use it to show details of the thing at point, like the full
signature and the locus of the definition.
* lisp/progmodes/eglot.el: Add optional arg MODE.
(eglot--hierarchy-source-major-mode): New defvar.
(eglot--hierarchy-1): Adjust.
(eglot-hierarchy-mode): Set eldoc stuff.
(eglot-hierarchy-center-on-node): Cosmetic fix.
(eglot-hierarchy-detail-eldoc-function)
(eglot-hierarchy-locus-eldoc-function): New eldoc functions.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions