Move what you can to LSP

This commit is contained in:
Maciej 2020-07-21 20:13:38 +03:00
parent 55b75ab70c
commit 55735b37c5
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
11 changed files with 44 additions and 138 deletions

View file

@ -1,7 +1,3 @@
(use-package racer
:ensure t
:requires (racer flycheck-rust))
(defun activate-rust-mode ()
"All things for Rust mode"
(interactive)
@ -14,5 +10,4 @@
)
(add-hook 'rust-mode-hook 'activate-rust-mode)
(add-hook 'rust-mode-hook 'racer-mode)
(add-hook 'rust-mode-hook 'flycheck-rust-setup)