mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Rust lsp settings
This commit is contained in:
parent
c3db9ddacf
commit
2f4480992f
7
init.org
7
init.org
@ -1187,6 +1187,13 @@
|
||||
(add-hook 'gnu-apl-interactive-mode-hook (lambda () (activate-input-method "APL-Z"))))
|
||||
#+end_src
|
||||
|
||||
** Rust
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq lsp-rust-server 'rust-analyzer)
|
||||
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
|
||||
#+end_src
|
||||
|
||||
* Key bindings
|
||||
|
||||
Inspired by [[http://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs][this StackOverflow post]] I keep a =custom-bindings-map= that
|
||||
|
Loading…
Reference in New Issue
Block a user