diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 2f85312..b51a956 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -150,7 +150,7 @@ (declare-function lsp-describe-session 'lsp-mode) (declare-function lsp-restart-workspace 'lsp-mode) (declare-function lsp-shutdown-workspace 'lsp-mode) -(declare-function lsp-workspace-folders-switch 'lsp-mode) +(declare-function lsp-workspace-folders-open 'lsp-mode) (declare-function lsp-workspaces 'lsp-mode) (declare-function magit-toplevel 'magit-git) (declare-function mc/num-cursors 'multiple-cursors-core) @@ -1643,7 +1643,7 @@ mouse-1: Reload to start server") (if workspaces (progn (define-key map [mode-line C-mouse-1] - #'lsp-workspace-folders-switch) + #'lsp-workspace-folders-open) (define-key map [mode-line mouse-1] #'lsp-describe-session) (define-key map [mode-line mouse-2]