solarized-emacs icon indicating copy to clipboard operation
solarized-emacs copied to clipboard

Highlight font-lock-number-face as highlight-numbers-number

Open imustafin opened this issue 2 years ago • 0 comments

We already support highlight-numbers (by highlighting highlight-numbers-number). This PR uses the same font for font-lock (highlighting font-lock-number-face).

This fixes the inconsistency if you use both highlight-numbers and something which uses font-lock. For example, ruby-mode and ruby-ts-mode. For example, notice how the numbers are not highlighted only in the top-left cell in the following table:

BeforeAfter

image

image

image

image

-----------------

Before submitting a PR make sure the following things have been done (and denote this by checking the relevant checkboxes):

  • [x] You've added a before/after screenshot illustrating visually your changes.
  • [x] You've updated the readme (if adding/changing configuration options)

Thanks!

imustafin avatar Apr 16 '24 16:04 imustafin