Skip to content

Commit acb7c74

Browse files
committed
Fix when is to show all workspaces
1 parent faa600e commit acb7c74

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lsp-treemacs.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,9 +1242,8 @@ With prefix 2 show both."
12421242
(-map #'lsp-workspace-folders)
12431243
(-flatten)
12441244
(-keep #'lsp-treemacs--build-error-list))
1245-
(->> lsp-treemacs--current-workspaces
1246-
(-map #'lsp-workspace-folders)
1247-
(-flatten)
1245+
(->> (lsp-session)
1246+
(lsp-session-folders)
12481247
(-keep #'lsp-treemacs--build-error-list)))
12491248
"Errors List"
12501249
nil

0 commit comments

Comments
 (0)