[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72228: 31.0.50; Wrong number fontification in cmake-ts-mode
From: |
Randy Taylor |
Subject: |
bug#72228: 31.0.50; Wrong number fontification in cmake-ts-mode |
Date: |
Mon, 22 Jul 2024 02:25:51 +0000 |
On Sunday, July 21st, 2024 at 07:13, Ergus via "Bug reports for GNU Emacs, the
Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> wrote:
>
> When using cmake-ts-mode the numbers have 3 different faces:
>
> 1, 2, 100: font-lock-number-face (OK)
>
> 0 : font-lock-constant-face. The cmake-ts-mode--constants takes
> precedence over regex in font-lock-number-face. It is not clear that
> this one can be fixed.
>
> -1, -2 : Not fontified. This seems simpler to fix, the regex in
> font-lock-number-face is missing a `-?' before the first [[:digit:]])
>
Thanks for the report. I'll take a look tomorrow.