Add rust config
This commit is contained in:
parent
46c73d8e9b
commit
2b1be43977
4 changed files with 23 additions and 1 deletions
11
20rust.el
Normal file
11
20rust.el
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(defun activate-rust-mode ()
|
||||
"All things for Rust mode"
|
||||
(interactive)
|
||||
(set-indent 4)
|
||||
(column-enforce-n 99))
|
||||
|
||||
;; (flymake-rust-setup))
|
||||
|
||||
(add-hook 'rust-mode-hook 'activate-rust-mode)
|
||||
(add-hook 'rust-mode-hook 'racer-mode)
|
||||
(add-hook 'rust-mode-hook 'flycheck-rust-setup)
|
||||
Loading…
Add table
Add a link
Reference in a new issue