diff --git a/CHANGELOG.md b/CHANGELOG.md index af1c3b0..b47e8bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * Fallback to `sample/prelude-modules.el` in the absence of a `prelude-modules.el` in one's personal folder. * [Ruby] Don't auto-insert coding comments. * Hide (via `diminish`) `editorconfig-mode`, `super-save`, `company`, `abbrev` and `ivy` in the modeline. +* Use `lsp-workspace-restart` function instead of deprecated `lsp-restart-workspace`. ### Bugs fixed diff --git a/modules/prelude-lsp.el b/modules/prelude-lsp.el index f067f04..37f37d8 100644 --- a/modules/prelude-lsp.el +++ b/modules/prelude-lsp.el @@ -42,7 +42,7 @@ (define-key lsp-ui-mode-map (kbd "C-c C-l .") 'lsp-ui-peek-find-definitions) (define-key lsp-ui-mode-map (kbd "C-c C-l ?") 'lsp-ui-peek-find-references) (define-key lsp-ui-mode-map (kbd "C-c C-l r") 'lsp-rename) -(define-key lsp-ui-mode-map (kbd "C-c C-l x") 'lsp-restart-workspace) +(define-key lsp-ui-mode-map (kbd "C-c C-l x") 'lsp-workspace-restart) (define-key lsp-ui-mode-map (kbd "C-c C-l w") 'lsp-ui-peek-find-workspace-symbol) (define-key lsp-ui-mode-map (kbd "C-c C-l i") 'lsp-ui-peek-find-implementation) (define-key lsp-ui-mode-map (kbd "C-c C-l d") 'lsp-describe-thing-at-point)