From 20dcb63b3f515133c278e5ced015313b3b69224d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 29 May 2023 00:05:57 -0400 Subject: [PATCH] Add keybinding for lsp-workspace-restart --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index 48cb7b4..f050bc2 100644 --- a/config.org +++ b/config.org @@ -966,6 +966,16 @@ Show the documentation in a popup frame in the top right corner lsp-ui-doc-position 'top lsp-ui-doc-show-with-cursor t)) #+end_src +*** Keybindings +Add some additional keybinds: +- ~SPC z l r~ to restart the lsp workspac +#+begin_src emacs-lisp +(after! lsp-mode + (map! :leader + (:prefix ("z l" . "lsp") + "r" #'lsp-workspace-restart))) +#+end_src +e ** Rust Configuration specific for rust *** LSP Tweaks