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 b5571ed commit f82c75bCopy full SHA for f82c75b
src/etc/emacs/rust-mode.el
@@ -31,6 +31,11 @@
31
(modify-syntax-entry ?\" "\"" table)
32
(modify-syntax-entry ?\\ "\\" table)
33
34
+ ;; mark _ as a word constituent so that identifiers
35
+ ;; such as xyz_type don't cause type to be highlighted
36
+ ;; as a keyword
37
+ (modify-syntax-entry ?_ "w" table)
38
+
39
;; Comments
40
(modify-syntax-entry ?/ ". 124b" table)
41
(modify-syntax-entry ?* ". 23" table)
0 commit comments