diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/typescript-ts-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |