diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2023-01-20 04:14:38 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2023-01-20 04:14:38 +0200 |
commit | d0d34514097c03d787012478d5217449481cfc04 (patch) | |
tree | 87a538fec7a0ee29a5fbc9a7351d62213a1c2ec7 | |
parent | d66ac5285f72e0343d1cc6aae2db70a00b35feed (diff) | |
download | emacs-d0d34514097c03d787012478d5217449481cfc04.tar.gz |
(ruby-ts-mode): Rename 'builtin-functions' to 'builtin-function'
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--font-lock-settings)
(ruby-ts-mode): Rename 'builtin-functions' to 'builtin-function',
for consistency with similar features.
-rw-r--r-- | lisp/progmodes/ruby-ts-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el index f365ca7f8c2..58da5ef9c69 100644 --- a/lisp/progmodes/ruby-ts-mode.el +++ b/lisp/progmodes/ruby-ts-mode.el @@ -334,7 +334,7 @@ values of OVERRIDE" pattern: (identifier) @font-lock-variable-name-face)) :language language - :feature 'builtin-functions + :feature 'builtin-function `((((identifier) @font-lock-builtin-face) (:match ,ruby-ts--builtin-methods @font-lock-builtin-face))) @@ -1037,7 +1037,7 @@ leading double colon is not added." (setq-local treesit-font-lock-feature-list '(( comment method-definition parameter-definition) ( keyword regexp string type) - ( builtin-variable builtin-constant builtin-functions + ( builtin-variable builtin-constant builtin-function delimiter escape-sequence constant global instance interpolation literal symbol assignment) |