Add keybinding for lsp-workspace-restart
This commit is contained in:
parent
2c9baefdf4
commit
20dcb63b3f
10
config.org
10
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-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
|
||||||
|
|
Loading…
Reference in New Issue