summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-02-17 12:31:52 +0200
committerLars Wirzenius <liw@liw.fi>2020-02-17 12:31:52 +0200
commitb2f3664c5d1ae50dc22be1398946f5dbecc3518e (patch)
tree33ea2a37b61900e86dae6389f37d65fc104d981e
parent31691da123c18f59abdf405b0cd76bbffebc05bd (diff)
downloadliw-dot-files-b2f3664c5d1ae50dc22be1398946f5dbecc3518e.tar.gz
Add: cargo minor mode for rust mode in emacs
-rw-r--r--emacs4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs b/emacs
index abc2ed2..b6b3993 100644
--- a/emacs
+++ b/emacs
@@ -145,6 +145,10 @@
(autoload 'wc-mode "word-count"
"Minor mode to count words." t nil)
+;;;;
+(require 'cargo)
+(add-hook 'rust-mode-hook 'cargo-minor-mode)
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Use custom-set-variables to set variables that cant' be set otherwise.