chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dad76b5
)
el/dot-emacs.el (mdw-fontify-rust): Highlight `$' correctly.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 26 Feb 2019 09:58:46 +0000
(09:58 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 26 Feb 2019 09:58:46 +0000
(09:58 +0000)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
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 ?= ".")