• Dmitry Gutov's avatar
    Match special globals in Ruby better · c2d6c639
    Dmitry Gutov authored
    * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re):
    Match special global variables without curlies, too.
    (ruby-font-lock-keywords): Simplify the matcher for special global
    variables.  Don't require a non-word character after the variable.
    
    Fixes: debbugs:17057
    c2d6c639
ruby-mode.el 82.6 KB