From d0d34514097c03d787012478d5217449481cfc04 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 20 Jan 2023 04:14:38 +0200 Subject: [PATCH] (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. --- lisp/progmodes/ruby-ts-mode.el | 4 ++-- 1 file 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) -- 2.39.2