Skip to content

Commit 72d3677

Browse files
committed
Allow pass functions to :actions node, making it lazely
1 parent c40a381 commit 72d3677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-treemacs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ will be rendered an empty line between them."
868868
0.001 nil
869869
(lambda ()
870870
(-when-let* ((actions (if-let (node (treemacs-node-at-point))
871-
(plist-get (button-get node :item) :actions)
871+
(lsp-resolve-value (plist-get (button-get node :item) :actions))
872872
lsp-treemacs--right-click-actions))
873873
(menu (easy-menu-create-menu nil actions))
874874
(choice (x-popup-menu event menu)))

0 commit comments

Comments
 (0)