nested constants, too. \_< broke that.
checks made superfluous by the \_< operator.
* progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
temporarily) broken indentation.
+ * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
+ nested constants, too. \_< broke that.
2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
'("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+"
0 font-lock-variable-name-face)
;; constants
- '("\\_<\\([A-Z]+\\(\\w\\|_\\)*\\)"
+ '("\\(?:\\_<\\|::\\)\\([A-Z]+\\(\\w\\|_\\)*\\)"
1 font-lock-type-face)
'("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face)
;; expression expansion