emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 45ba332adde 2/3: Fontify namespace in constant face in c++-ts-mod


From: Yuan Fu
Subject: master 45ba332adde 2/3: Fontify namespace in constant face in c++-ts-mode (bug#71070)
Date: Wed, 22 May 2024 02:23:23 -0400 (EDT)

branch: master
commit 45ba332addec3be7c4c15917c25c59c64c0633c4
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    Fontify namespace in constant face in c++-ts-mode (bug#71070)
    
    * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Use
    constant face.
---
 lisp/progmodes/c-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index b703999d788..f453392ff7f 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]