]> git.eshelyaron.com Git - emacs.git/commitdiff
Fontify namespace in constant face in c++-ts-mode (bug#71070)
authorYuan Fu <casouri@gmail.com>
Wed, 22 May 2024 06:01:33 +0000 (23:01 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 08:29:53 +0000 (10:29 +0200)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Use
constant face.

(cherry picked from commit 45ba332addec3be7c4c15917c25c59c64c0633c4)

lisp/progmodes/c-ts-mode.el

index 605c747a89c45644eb98f5c305e748a84f97c04b..bef74dd46640a727429294399022cdd62ce27744 100644 (file)
@@ -663,7 +663,7 @@ MODE is either `c' or `cpp'."
          '((type_qualifier) @font-lock-type-face
 
            (qualified_identifier
-            scope: (namespace_identifier) @font-lock-type-face)
+            scope: (namespace_identifier) @font-lock-constant-face)
 
            (operator_cast) type: (type_identifier) @font-lock-type-face