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)
committerYuan Fu <casouri@gmail.com>
Wed, 22 May 2024 06:01:33 +0000 (23:01 -0700)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Use
constant face.

lisp/progmodes/c-ts-mode.el

index b703999d78871baffae82fdc35cdf4caedb53cb8..f453392ff7f847362620a495d83be18a6cc2f262 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