Skip to content

Commit

Permalink
Support double click.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurnevsky committed Oct 1, 2023
1 parent 55edc90 commit e1c6d39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lsp-metals-treeview.el
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ form `((side left))'."
(set-window-parameter window 'no-delete-other-windows t)
(lsp-metals-treeview-mode 1)

;; Support for link-hint package with default visit action.
(setq-local treemacs-default-visit-action 'treemacs-RET-action)))))))
(setq-local treemacs-default-visit-action 'treemacs-RET-action)
(setq-local treemacs-doubleclick-actions-config '((treemacs-metals-node-open . treemacs-RET-action)
(treemacs-metals-node-closed . treemacs-RET-action)))))))))


(defun lsp-metals-treeview--display-views (workspace views slot)
Expand Down

0 comments on commit e1c6d39

Please sign in to comment.