]> git.eshelyaron.com Git - emacs.git/commit
(ruby-ts-mode): Split font-lock feature 'builtin' into two
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 6 Jan 2023 01:12:20 +0000 (03:12 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 6 Jan 2023 01:32:46 +0000 (03:32 +0200)
commit7ede600273cc8ad4be09799c2ec0b8e364edcca5
treeeafec7f5e227c57635dfda2c7a7d6f4ae40e48c7
parentec172d748f31121ed3d72e53e16fef5ee5f9018d
(ruby-ts-mode): Split font-lock feature 'builtin' into two

* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Split the 'builtin' feature in two: 'builtin-constant' and
'builtin-variable'.
(ruby-ts-highlight-predefined-constants):
Drop the user option, the highlighting granularity can be chosen
using treesit-font-lock-recompute-features.
(ruby-ts--font-lock-settings): Update accordingly.
(ruby-ts--predefined-constants, ruby-ts--predefined-variables):
Fix docstrings.
lisp/progmodes/ruby-ts-mode.el