Subject: bug#53539: Feature request/suggestion: option to highlight sequences of newlines in whitespace mode

From: José Júnior <[email-masked]>
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.