From: Dmitry Gutov Date: Sat, 3 Jun 2023 12:00:41 +0000 (+0300) Subject: typescript-ts-mode: Add a rule for function_signature X-Git-Tag: emacs-29.0.92~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=583ba1db7ee;p=emacs.git typescript-ts-mode: Add a rule for function_signature * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--font-lock-settings): Add a rule for function_signature (bug#63867) --- diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index e30eb880266..09e04f0cd0e 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -173,9 +173,10 @@ Argument LANGUAGE is either `typescript' or `tsx'." :feature 'declaration `((function name: (identifier) @font-lock-function-name-face) - (function_declaration name: (identifier) @font-lock-function-name-face) + (function_signature + name: (identifier) @font-lock-function-name-face) (method_definition name: (property_identifier) @font-lock-function-name-face)