diff --git a/configuration.org b/configuration.org index 3e8f19602225908b9e299abc9366da482217f5f5..d85827b122cc54a0a32dfd969f52831d2e2c75d0 100644 --- a/configuration.org +++ b/configuration.org @@ -780,14 +780,23 @@ Some of my configuration entries where borrowed from other people, see (lsp-mode . lsp-enable-which-key-integration) ) :config - (lsp-headerline-breadcrumb-mode t)) + (lsp-headerline-breadcrumb-mode t) + :commands lsp + ) #+end_src For displaying more information directly in the buffer, I use =lsp-ui= #+begin_src emacs-lisp -(use-package lsp-ui) +(use-package lsp-ui + :commands lsp-ui-mode) + #+end_src + + LSP keybinds + + #+begin_src emacs-lisp +(setq lsp-keymap-prefix "s-l") #+end_src *** Integration with treemacs @@ -821,9 +830,7 @@ Some of my configuration entries where borrowed from other people, see *** Rust - Install =rust-mode= and set the rust language server to - =rust-analyzer=. It also sets =rustfmt= to be called to format - buffer when saving. + Install =rust-mode= and set the rust language server to [[https://rust-analyzer.github.io/][rust-analyzer]] #+begin_src emacs-lisp (use-package rust-mode