chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
el/dot-emacs.el (mdw-fontify-rust): Highlight `$' correctly.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 24c2afafbdd9a0bb6092914c46dcf60225db1c3d..97ad03cec77161c1c1e43ebe2ce62a0b7932d943 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2649,6
+2649,7
@@
(defun mdw-self-insert-and-indent (count)
(defun mdw-fontify-rust ()
;; Hack syntax categories.
+ (modify-syntax-entry ?$ ".")
(modify-syntax-entry ?% ".")
(modify-syntax-entry ?= ".")