c-ts-mode: Highlight "property functions" as functions
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Highlight "property functions" as functions (bug#61302).
This commit is contained in:
parent
a529b0d646
commit
07ffe902c6
1 changed files with 3 additions and 1 deletions
|
@ -470,7 +470,9 @@ MODE is either `c' or `cpp'."
|
|||
:language mode
|
||||
:feature 'function
|
||||
'((call_expression
|
||||
function: (identifier) @font-lock-function-name-face))
|
||||
function:
|
||||
[(identifier) @font-lock-function-name-face
|
||||
(field_expression field: (field_identifier) @font-lock-function-name-face)]))
|
||||
|
||||
:language mode
|
||||
:feature 'variable
|
||||
|
|
Loading…
Add table
Reference in a new issue