]> git.eshelyaron.com Git - emacs.git/commitdiff
Use font-lock-number-face for numeric values in csharp-mode
authorJostein Kjønigsen <jostein@kjonigsen.net>
Mon, 12 Dec 2022 11:50:22 +0000 (12:50 +0100)
committerYuan Fu <casouri@gmail.com>
Mon, 12 Dec 2022 23:08:55 +0000 (15:08 -0800)
(bug#60004)

* lisp/progmodes/csharp-mode.el: update fontification code.

lisp/progmodes/csharp-mode.el

index 17b8ae53f84dc99941169819e16a1c8800c21c6c..dda0b105b74f0961b48b54cc5a245c6f14954558 100644 (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