* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
nil/self/true/false with "end of symbol".
This commit is contained in:
parent
2fcc742fc5
commit
43cebc237c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
|
||||
nil/self/true/false with "end of symbol".
|
||||
|
||||
2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
|
||||
|
||||
* subr.el (version-regexp-alist): Fix a typo.
|
||||
|
|
|
@ -1925,7 +1925,7 @@ See `font-lock-syntax-table'.")
|
|||
"\\_<\\(?:BEGIN\\|END\\)\\_>\\|^__END__$"
|
||||
;; Variables.
|
||||
(,(concat ruby-font-lock-keyword-beg-re
|
||||
"\\_<\\(nil\\|self\\|true\\|false\\)\\>")
|
||||
"\\_<\\(nil\\|self\\|true\\|false\\)\\_>")
|
||||
1 font-lock-variable-name-face)
|
||||
;; Keywords that evaluate to certain values.
|
||||
("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>"
|
||||
|
|
Loading…
Add table
Reference in a new issue