File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,16 @@ number - expand N levels."
5757 (number :tag " Expand level" ))
5858 :group 'dap-ui )
5959
60+ (defcustom dap-ui-sessions-expand-depth nil
61+ " Sessions expand strategy.
62+ When nil - do not expand.
63+ t - expand recursively
64+ number - expand N levels."
65+ :type '(choice (const :tag " Do not expand" nil )
66+ (const :tag " Expand recursively" t )
67+ (number :tag " Expand level" ))
68+ :group 'dap-ui )
69+
6070(defcustom dap-ui-overlay-priority 100
6171 " Overlay's base prioirty."
6272 :type 'integer
@@ -810,7 +820,7 @@ DEBUG-SESSION is the debug session triggering the event."
810820 (dap-ui--show-buffer
811821 (lsp-treemacs-render
812822 (dap-ui--sessions-tree)
813- " Debug Sessions " nil
823+ " Debug Sessions " dap-ui-sessions-expand-depth
814824 dap-ui--sessions-buffer
815825 '([" Delete All Sessions" dap-delete-all-sessions])))
816826 (dap-ui-sessions-mode)
You can’t perform that action at this time.
0 commit comments