~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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
24c2afa
..
97ad03c
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2649,6
+2649,7
@@
name, as a symbol."
(defun mdw-fontify-rust ()
;; Hack syntax categories.
+ (modify-syntax-entry ?$ ".")
(modify-syntax-entry ?% ".")
(modify-syntax-entry ?= ".")