Skip to content

Commit 07b781e

Browse files
committed
Fix issue with expanding
emacs-lsp/dap-mode#316
1 parent 7bec337 commit 07b781e

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
@@ -1102,7 +1102,7 @@
11021102
(setq-local face-remapping-alist '((button . default)))
11031103
(lsp-treemacs--set-mode-line-format search-buffer title)
11041104
(lsp-treemacs-generic-refresh)
1105-
(lsp-treemacs--expand 'LSP-Generic expand-depth)
1105+
(when expand-depth (lsp-treemacs--expand 'LSP-Generic expand-depth))
11061106
(current-buffer))))
11071107

11081108
(defalias 'lsp-treemacs--show-references 'lsp-treemacs-render)

0 commit comments

Comments
 (0)