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

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

bug#53539: Feature request/suggestion: option to highlight sequences of


From: José Júnior
Subject: bug#53539: Feature request/suggestion: option to highlight sequences of newlines in whitespace mode
Date: Tue, 25 Jan 2022 22:06:45 -0300

Hi,

Would be good to have an option to highlight sequences of whitespaces in the whitespace-mode options. Something like the "Whitespace Trailing" but for newlines.

For example:

a
\n <--- would highlight this
\n <--- would highlight this
b
\n <--- this wouldn't be highlighted

I made a workaround by editing the "Whitespace Trailing Regexp" variable to also match sequences of newlines, but it would be good to have it separated in another variable, and available by default, as one may need to highlight newlines but not whitespaces, or vice versa.

Thanks.

reply via email to

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