Skip to content
Snippets Groups Projects
Commit 6758b8c6 authored by Michael Hauspie's avatar Michael Hauspie
Browse files
parents 46a508b4 35d43e59
Branches
No related tags found
No related merge requests found
...@@ -780,14 +780,23 @@ Some of my configuration entries where borrowed from other people, see ...@@ -780,14 +780,23 @@ Some of my configuration entries where borrowed from other people, see
(lsp-mode . lsp-enable-which-key-integration) (lsp-mode . lsp-enable-which-key-integration)
) )
:config :config
(lsp-headerline-breadcrumb-mode t)) (lsp-headerline-breadcrumb-mode t)
:commands lsp
)
#+end_src #+end_src
For displaying more information directly in the buffer, I use =lsp-ui= For displaying more information directly in the buffer, I use =lsp-ui=
#+begin_src emacs-lisp #+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 #+end_src
*** Integration with treemacs *** Integration with treemacs
...@@ -821,9 +830,7 @@ Some of my configuration entries where borrowed from other people, see ...@@ -821,9 +830,7 @@ Some of my configuration entries where borrowed from other people, see
*** Rust *** Rust
Install =rust-mode= and set the rust language server to Install =rust-mode= and set the rust language server to [[https://rust-analyzer.github.io/][rust-analyzer]]
=rust-analyzer=. It also sets =rustfmt= to be called to format
buffer when saving.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rust-mode (use-package rust-mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment