aboutsummaryrefslogtreecommitdiff
path: root/lisp/hcel-source.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-06 12:07:02 +1000
committerYuchen Pei <hi@ypei.me>2022-09-06 12:07:02 +1000
commitd4da245f8ad35d80bd1965d39c7fe9d306ecd03c (patch)
treea47369984c1cd6e6a062563c494ad1b0575449d8 /lisp/hcel-source.el
parentb85fe78ce35ace46f42c5922773152843810fa5e (diff)
adding find references support to eldoc buffer
Diffstat (limited to 'lisp/hcel-source.el')
-rw-r--r--lisp/hcel-source.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/hcel-source.el b/lisp/hcel-source.el
index b52393e..31a17e1 100644
--- a/lisp/hcel-source.el
+++ b/lisp/hcel-source.el
@@ -205,7 +205,10 @@ May cause error if the identifier has exact location."
(defun hcel-eldoc-id-type (cb)
(when-let ((symbol (hcel-occ-symbol-at-point))
(docstring
- (hcel-type-at-point)))
+ (propertize
+ (hcel-type-at-point)
+ 'package-id hcel-package-id
+ 'module-path hcel-module-path)))
(funcall cb docstring
:thing symbol
:face 'font-lock-variable-name-face)