
Untitled
By: a guest on
Jul 4th, 2012 | syntax:
None | size: 0.60 KB | hits: 9 | expires: Never
git diff
diff --git a/ruby-mode.el b/ruby-mode.el
index b556e95..838d811 100644
--- a/ruby-mode.el
+++ b/ruby-mode.el
@@ -1169,7 +1169,7 @@ balanced expression is found."
2 font-lock-type-face)
;; symbols
'("\\(^\\|[^:]\\)\\(:\\([-+~]@?\\|[/%&|^`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|\\[\\]=?\\|\\(\\w\\|_\\)+\\([!?=]\\|\\b_*\\)\\|#{[^}\n\\\\]*\\(\
- 2 font-lock-reference-face)
+ 2 font-lock-string-face)
;; expression expansion
'("#\\({[^}\n\\\\]*\\(\\\\.[^}\n\\\\]*\\)*}\\|\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+\\)"
0 font-lock-variable-name-face t)