aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorPaul Eggert2016-03-22 11:04:36 -0700
committerPaul Eggert2016-03-22 11:04:36 -0700
commitf95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd (patch)
tree770fbf699587d51ed3a374c6f01bdd655394c66c /lisp/progmodes/ruby-mode.el
parent4869e0d85a215e7fb0262430a48aa4d5804bf0a4 (diff)
parentb8ea08b037fb16395b90481162587706e71b487c (diff)
downloademacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.tar.gz
emacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.zip
-
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 2389f742937..972bf99145e 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2173,7 +2173,7 @@ See `font-lock-syntax-table'.")
2173 'font-lock-string-face))) 2173 'font-lock-string-face)))
2174 ;; Perl-ish keywords. 2174 ;; Perl-ish keywords.
2175 "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$" 2175 "\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$"
2176 ;; Variables. 2176 ;; Singleton objects.
2177 (,(concat ruby-font-lock-keyword-beg-re 2177 (,(concat ruby-font-lock-keyword-beg-re
2178 "\\_<\\(nil\\|true\\|false\\)\\_>") 2178 "\\_<\\(nil\\|true\\|false\\)\\_>")
2179 1 font-lock-constant-face) 2179 1 font-lock-constant-face)
@@ -2181,7 +2181,7 @@ See `font-lock-syntax-table'.")
2181 ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>" 2181 ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>"
2182 (0 font-lock-builtin-face)) 2182 (0 font-lock-builtin-face))
2183 ;; Symbols. 2183 ;; Symbols.
2184 ("\\(^\\|[^:]\\)\\(:@?\\(?:\\w\\|_\\)+\\)\\([!?=]\\)?" 2184 ("\\(^\\|[^:]\\)\\(:@\\{0,2\\}\\(?:\\sw\\|\\s_\\)+\\)"
2185 (2 font-lock-constant-face) 2185 (2 font-lock-constant-face)
2186 (3 (unless (and (eq (char-before (match-end 3)) ?=) 2186 (3 (unless (and (eq (char-before (match-end 3)) ?=)
2187 (eq (char-after (match-end 3)) ?>)) 2187 (eq (char-after (match-end 3)) ?>))