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 15be167 commit 936dd86Copy full SHA for 936dd86
lsp-mode.el
@@ -3652,7 +3652,12 @@ in that particular folder."
3652
3653
(defun lsp-configure-buffer ()
3654
"Configure LSP features for current buffer."
3655
- (let (lsp--cur-workspace)
+ ;; make sure the core is running in the context of all available workspaces
3656
+ ;; to avoid misconfiguration in case we are running in `with-lsp-workspace' context
3657
+ (let ((lsp--buffer-workspaces (cond
3658
+ (lsp--buffer-workspaces)
3659
+ (lsp--cur-workspace (list lsp--cur-workspace))))
3660
+ lsp--cur-workspace)
3661
(when lsp-auto-configure
3662
(when (and lsp-enable-text-document-color
3663
(lsp-feature? "textDocument/documentColor"))
0 commit comments