projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ed507
)
Use constant face for labels in c-ts-mode
author
Yuan Fu
<casouri@gmail.com>
Mon, 21 Nov 2022 09:27:55 +0000
(
01:27
-0800)
committer
Yuan Fu
<casouri@gmail.com>
Mon, 21 Nov 2022 09:41:19 +0000
(
01:41
-0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Use
constant face for labels.
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 3b7007bfeebf49c4cf6e4e53c117fecf9c932d52..6ba209c0fb544d2af308faae211a316199959ba4 100644
(file)
--- a/
lisp/progmodes/c-ts-mode.el
+++ b/
lisp/progmodes/c-ts-mode.el
@@
-301,7
+301,7
@@
MODE is either `c' or `cpp'."
:feature 'label
'((expression_statement (identifier) @font-lock-variable-name-face)
(labeled_statement
- label: (statement_identifier) @font-lock-
type
-face))
+ label: (statement_identifier) @font-lock-
constant
-face))
:language mode
:feature 'error