]> git.eshelyaron.com Git - emacs.git/commitdiff
Use constant face for labels in c-ts-mode
authorYuan Fu <casouri@gmail.com>
Mon, 21 Nov 2022 09:27:55 +0000 (01:27 -0800)
committerYuan 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

index 3b7007bfeebf49c4cf6e4e53c117fecf9c932d52..6ba209c0fb544d2af308faae211a316199959ba4 100644 (file)
@@ -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