bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode


From: Lars Ingebrigtsen
Subject: bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode
Date: Sun, 01 May 2022 11:24:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> So would checking for a word boundary after the regexp be sufficient?
> Or are there places where #000000foobar makes sense and we really want
> to colourize that #000000 bit?

I've now made this change in rainbow-mode for the ^#... matches, which
should probably be correct for most things.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]