Skip to content

Commit

Permalink
Allow customization of indent offset
Browse files Browse the repository at this point in the history
  • Loading branch information
djui committed Apr 25, 2013
1 parent 5f13e9c commit 7a9037b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/etc/emacs/rust-mode.el
Expand Up @@ -23,7 +23,12 @@
:require 'rust-mode
:group 'rust-mode)

(defvar rust-indent-unit 4)
(defcustom rust-indent-unit 4
"Amount of offset per level of indentation"
:type 'integer
:require 'rust-mode
: group 'rust-mode)

(defvar rust-syntax-table (let ((table (make-syntax-table)))
(c-populate-syntax-table table)
table))
Expand Down

0 comments on commit 7a9037b

Please sign in to comment.