diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index da31f989d1..d29e3bd82c 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -750,6 +750,10 @@ An end of a defun is found by moving forward from the beginning of one." "\\|") "\\)\\>\\([^_]\\|$\\)") 2) + ;; regexps + '("/\\(\\(\\\\/\\|[^/\n]\\)*\\)/\\([iop]*\\)" + (1 font-lock-string-face) + (3 font-lock-constant-face)) ;; variables '("\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(nil\\|self\\|true\\|false\\)\\b\\([^_]\\|$\\)" 2 font-lock-variable-name-face) |