From: Jostein Kjønigsen Date: Mon, 12 Dec 2022 11:50:22 +0000 (+0100) Subject: Use font-lock-number-face for numeric values in csharp-mode X-Git-Tag: emacs-29.0.90~1210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f9e6532b14c3a4117a4419acda9968d30570e04;p=emacs.git Use font-lock-number-face for numeric values in csharp-mode (bug#60004) * lisp/progmodes/csharp-mode.el: update fontification code. --- 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