We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e95a0 commit 1ac7c5cCopy full SHA for 1ac7c5c
src/etc/emacs/rust-mode.el
@@ -30,8 +30,11 @@
30
31
table))
32
33
+(defgroup rust-mode nil "Support for Rust code.")
34
+
35
(defcustom rust-indent-offset 4
- "*Indent Rust code by this number of spaces.")
36
+ "*Indent Rust code by this number of spaces."
37
+ :group 'rust-mode)
38
39
(defun rust-paren-level () (nth 0 (syntax-ppss)))
40
(defun rust-in-str-or-cmnt () (nth 8 (syntax-ppss)))
@@ -215,6 +218,7 @@
215
218
;;;###autoload
216
219
(define-derived-mode rust-mode rust-parent-mode "Rust"
217
220
"Major mode for Rust code."
221
+ :group 'rust-mode
222
223
;; Basic syntax
224
(set-syntax-table rust-mode-syntax-table)
0 commit comments