From 0f9e6532b14c3a4117a4419acda9968d30570e04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jostein=20Kj=C3=B8nigsen?= Date: Mon, 12 Dec 2022 12:50:22 +0100 Subject: [PATCH] Use font-lock-number-face for numeric values in csharp-mode (bug#60004) * lisp/progmodes/csharp-mode.el: update fontification code. --- lisp/progmodes/csharp-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el index 17b8ae53f84..dda0b105b74 100644 --- a/lisp/progmodes/csharp-mode.el +++ b/lisp/progmodes/csharp-mode.el @@ -709,8 +709,8 @@ compilation and evaluation time conflicts." :language 'c-sharp :override t :feature 'literal - `((integer_literal) @font-lock-constant-face - (real_literal) @font-lock-constant-face + `((integer_literal) @font-lock-number-face + (real_literal) @font-lock-number-face (null_literal) @font-lock-constant-face (boolean_literal) @font-lock-constant-face) :language 'c-sharp -- 2.39.2