Permalink
Browse files

Added hooks for rust-mode.

  • Loading branch information...
1 parent 89966df commit 0f1642f7a8ac81ed4ed3714ec13e27352fba0bc3 @jgm committed Sep 27, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 init.el
View
@@ -171,6 +171,11 @@
(turn-on-auto-fill)
(setq indent-tabs-mode nil)))
+;;; Rust
+(add-to-list 'load-path "~/.emacs.d/rust")
+(require 'rust-mode)
+(add-to-list 'auto-mode-alist '("\\.rs$" . rust-mode))
+
;;; Lisp
(setq inferior-lisp-program "sbcl")

0 comments on commit 0f1642f

Please sign in to comment.