summaryrefslogtreecommitdiff
path: root/misc/ruby-mode.el
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-01 07:25:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-01 07:25:25 +0000
commitcff9ebc8dcdab943fa7b48b97ef42e6c1fd58f1c (patch)
treea42b760319f85d37afab6d4f8af0038901772ec7 /misc/ruby-mode.el
parent2252d4ce028b38bb46310b215b2c98afbf224d55 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r--misc/ruby-mode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index cffd853..782d049 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -694,7 +694,10 @@ An end of a defun is found by moving forward from the beginning of one."
(make-local-variable 'font-lock-syntactic-keywords)
(setq font-lock-syntactic-keywords
'(("\\$\\([#\"'`$\\]\\)" 1 (1 . nil))
- ("\\(#\\)[{$@]" 1 (1 . nil))))
+ ("\\(#\\)[{$@]" 1 (1 . nil))
+ ("\\(/\\).*\\(/\\)"
+ (1 (7 . ?'))
+ (2 (7 . ?')))))
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '((ruby-font-lock-keywords) nil nil))
(setq font-lock-keywords ruby-font-lock-keywords)))