Project

General

Profile

Bug #528 » 0003--misc-ruby-mode.el-don-t-highlight-keywords-when-t.patch

nex3 (Natalie Weizenbaum), 08/31/2008 03:54 PM

View differences:

misc/ruby-mode.el
1 font-lock-function-name-face)
;; keywords
(cons (concat
"\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(defined\\?\\|\\("
(mapconcat
'identity
"\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(defined\\?\\|"
(regexp-opt
'("alias"
"and"
"begin"
......
"while"
"yield"
)
"\\|")
"\\)\\>\\)")
t)
"\\_>\\)")
2)
;; here-doc beginnings
(list ruby-here-doc-beg-re 0 'font-lock-string-face)
(3-3/7)