]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Standardize the string literal highlights
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Jan 2023 21:26:39 +0000 (23:26 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 2 Jan 2023 22:41:39 +0000 (00:41 +0200)
commit9e6536e4d96e2280b8ed76e9e83369659a347e02
treef3b972d4fe1469c1d43c2923445b95c0ce215d06
parent1a9a1fdebf648cc1f614089f385d2a9c6cbabc5b
ruby-ts-mode: Standardize the string literal highlights

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings):
Use font-lock-string-face for %w() and `...`.
Use font-lock-constant-face (just like we do for symbol literals)
for symbol array literals, %i().
Combine the matchers for string content and heredocs.
lisp/progmodes/ruby-ts-mode.el