diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2014-03-02 00:04:59 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2014-03-02 00:04:59 +0200 |
commit | 1850913d96126ca52c8dc5beadc82b004477b0cf (patch) | |
tree | a58960a79f1af8ba2ad6148a6212cee8e3097405 /test | |
parent | 2907acd464d055256efb84afb0a8c978befa8bc6 (diff) | |
download | emacs-1850913d96126ca52c8dc5beadc82b004477b0cf.tar.gz |
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
regexp options.
Fixes: debbugs:16914
Diffstat (limited to 'test')
-rw-r--r-- | test/indent/ruby.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index daec1c30c69..2ca0e482797 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -29,6 +29,10 @@ a = asub / aslb + bsub / bslb; # Highlight the regexp after "if". x = toto / foo if /do bar/ =~ "dobar" +# Regexp options are highlighted. + +/foo/xi != %r{bar}mo.tee + bar(class: XXX) do # ruby-indent-keyword-label foo end |