projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a529b0d
)
c-ts-mode: Highlight "property functions" as functions
author
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 6 Feb 2023 02:05:19 +0000
(
04:05
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 6 Feb 2023 02:05:19 +0000
(
04:05
+0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-ts-mode.el
b/lisp/progmodes/c-ts-mode.el
index 5093c3980b69e0d1709a8b3df6b999d3a8bf74ff..3740130be307fd0a1948422d102b4e38e21a5a31 100644
(file)
--- 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