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:
parent
a3459a28e4
commit
583ba1db7e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue