Switch to rust-mode
This commit is contained in:
parent
af589522f8
commit
4b9ae5fdb2
|
@ -12,6 +12,7 @@
|
|||
- [[#programming][Programming]]
|
||||
- [[#smart-parens][Smart parens]]
|
||||
- [[#rust][Rust]]
|
||||
- [[#column-width][Column width]]
|
||||
- [[#cc][C/C++]]
|
||||
- [[#default-style][Default style]]
|
||||
- [[#flycheck][Flycheck]]
|
||||
|
@ -145,10 +146,12 @@ Disable smart parens because half of the time it doesn't do what I want:
|
|||
|
||||
** Rust
|
||||
|
||||
*** Column width
|
||||
|
||||
=rustfmt= limits lines to 100 characters, let's display it correctly.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook! rustic-mode
|
||||
(add-hook! rust-mode
|
||||
(set-fill-column 100))
|
||||
#+END_SRC
|
||||
|
||||
|
|
2
init.el
2
init.el
|
@ -153,7 +153,7 @@
|
|||
;;rest ; Emacs as a REST client
|
||||
;;rst ; ReST in peace
|
||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;scheme ; a fully conniving family of lisps
|
||||
(sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||
|
|
|
@ -54,3 +54,5 @@
|
|||
|
||||
;; C/C++ mode adds this, and I don't really need it
|
||||
(package! irony :disable t)
|
||||
|
||||
(package! rust-mode)
|
||||
|
|
Loading…
Reference in a new issue