]> git.eshelyaron.com Git - emacs.git/commit
(ruby-ts--font-lock-settings): Improve highlighting in patterns
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Jan 2023 01:56:32 +0000 (03:56 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Jan 2023 01:59:36 +0000 (03:59 +0200)
commitee3e8d3f927eba45b6863d4b2448376aacb02501
tree6a4f99ef715f06bc1689e6cba024bc938fc61282
parent614f8c431d3e47d0e930207809454efc7118850d
(ruby-ts--font-lock-settings): Improve highlighting in patterns

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings):
Improve highlighting in patterns: highlight values not keys as
variable in the usual case; highlight keys when no value;
highlight the "as pattern" variable.
lisp/progmodes/ruby-ts-mode.el