Bug #528 » 0003--misc-ruby-mode.el-don-t-highlight-keywords-when-t.patch
| 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)
|
||