Allow customization of indent offset
This commit is contained in:
parent
5f13e9ccc2
commit
7a9037bfde
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user