From 7e0cb3d7356f47a8473eae7094c4bc135bccebd0 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 1 Sep 2000 07:25:25 +0000 Subject: matz git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index cffd853bb..782d04914 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))) -- cgit