Skip to content

Commit 1de546e

Browse files
committed
Support link-hint package with treeview using default visit action.
1 parent f5fe98b commit 1de546e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lsp-metals-treeview.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,10 @@ window by POSITION and is of the form '((side left))."
384384
;; When closing other windows after splitting, prevent our treeview closing.
385385
(set-window-parameter window 'no-delete-other-windows t)
386386
(lsp-metals-treeview-mode 1)
387+
388+
;; Support for link-hint package with default visit action.
389+
(setq-local treemacs-default-visit-action 'treemacs-RET-action)
390+
387391
;; open root of tree after initialisation.
388392
(treemacs-expand-metals-root)))))))
389393

0 commit comments

Comments
 (0)