Use font-lock-number-face for numeric values in csharp-mode

(bug#60004)

* lisp/progmodes/csharp-mode.el: update fontification code.
This commit is contained in:
Jostein Kjønigsen 2022-12-12 12:50:22 +01:00 committed by Yuan Fu
parent 4bccb7b211
commit 0f9e6532b1
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -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