Skip to content

Commit

Permalink
Set help-echo property.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurnevsky committed Sep 30, 2023
1 parent 5dd03d0 commit 310fced
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lsp-metals-treeview.el
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ collapsed or expanded."
(treemacs-define-expandable-node-type metals-node
:open-icon (lsp-metals-treeview--icon item t)
:closed-icon (lsp-metals-treeview--icon item nil)
:label (propertize (lsp-get item :label) 'face 'default)
:label (propertize (lsp-get item :label) 'face 'default 'help-echo (lsp-get item :tooltip))
:key (lsp-get item :nodeUri)
:ret-action 'lsp-metals-treeview--exec-node-action
:children (-when-let* ((node (treemacs-button-get btn :node))
Expand All @@ -658,9 +658,6 @@ collapsed or expanded."
:child-type 'metals-node
:more-properties `(:node
,item
;; TODO: this is not used anymore
:eldoc
,(lsp-get item :tooltip)
:leaf
,(not (lsp-get item :collapseState)))
:on-expand (lsp-metals-treeview--on-node-collapsed
Expand Down

0 comments on commit 310fced

Please sign in to comment.