Add keybinding for lsp-workspace-restart

This commit is contained in:
Nathan McCarty 2023-05-29 00:05:57 -04:00
parent 2c9baefdf4
commit 20dcb63b3f
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 10 additions and 0 deletions

View File

@ -966,6 +966,16 @@ Show the documentation in a popup frame in the top right corner
lsp-ui-doc-position 'top lsp-ui-doc-position 'top
lsp-ui-doc-show-with-cursor t)) lsp-ui-doc-show-with-cursor t))
#+end_src #+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 ** Rust
Configuration specific for rust Configuration specific for rust
*** LSP Tweaks *** LSP Tweaks