Skip to content

Commit 0ddfe66

Browse files
committed
Fallback to all projects if workspace not found
1 parent ca8211f commit 0ddfe66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-treemacs.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,8 @@ With prefix 2 show both."
12371237

12381238
(defun lsp-treemacs-errors-list--refresh ()
12391239
(lsp-treemacs-render
1240-
(if lsp-treemacs-error-list-current-project-only
1240+
(if (and lsp-treemacs-error-list-current-project-only
1241+
lsp-treemacs--current-workspaces)
12411242
(->> lsp-treemacs--current-workspaces
12421243
(-map #'lsp-workspace-folders)
12431244
(-flatten)

0 commit comments

Comments
 (0)