[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 07ffe902c6: c-ts-mode: Highlight "property functions" as functi
From: |
Dmitry Gutov |
Subject: |
emacs-29 07ffe902c6: c-ts-mode: Highlight "property functions" as functions |
Date: |
Sun, 5 Feb 2023 21:05:29 -0500 (EST) |
branch: emacs-29
commit 07ffe902c638d58b677820aa26c16db94510eca3
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
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).
---
lisp/progmodes/c-ts-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 5093c3980b..3740130be3 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 07ffe902c6: c-ts-mode: Highlight "property functions" as functions,
Dmitry Gutov <=