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)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user