We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bec337 commit 07b781eCopy full SHA for 07b781e
lsp-treemacs.el
@@ -1102,7 +1102,7 @@
1102
(setq-local face-remapping-alist '((button . default)))
1103
(lsp-treemacs--set-mode-line-format search-buffer title)
1104
(lsp-treemacs-generic-refresh)
1105
- (lsp-treemacs--expand 'LSP-Generic expand-depth)
+ (when expand-depth (lsp-treemacs--expand 'LSP-Generic expand-depth))
1106
(current-buffer))))
1107
1108
(defalias 'lsp-treemacs--show-references 'lsp-treemacs-render)
0 commit comments