Allow customization of indent offset

This commit is contained in:
Uwe Dauernheim 2013-04-26 00:06:57 +03:00
parent 5f13e9ccc2
commit 7a9037bfde

View file

@ -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))