mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Use lsp-workspace-folders-open instead of lsp-workspace-folders-switch.
‘lsp-workspace-folders-switch’ is obsolete in lsp-mode 6.1.
This commit is contained in:
parent
51813336e9
commit
dc6dd9ceb1
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue