Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line number style changes depending on leading whitespace #421

Open
jg110 opened this issue Aug 6, 2021 · 1 comment
Open

Line number style changes depending on leading whitespace #421

jg110 opened this issue Aug 6, 2021 · 1 comment

Comments

@jg110
Copy link

jg110 commented Aug 6, 2021

There seem to be different line number styles used depending on leading whitespace. Here's an example from a test file in Text mode using solarized-dark:

emacs-solarized-dark

Line number 1 has no styling applied, 2 (leading tab) is highlighted, and 3 (leading spaces) is italicized. This kind of styling only happens when both linum-mode and whitespace-mode are enabled, and doesn't happen in other themes. Here's the default theme (i.e. no theme loaded):

emacs-notheme

And manoj-dark:

emacs-manoj-dark

@bbatsov
Copy link
Owner

bbatsov commented Aug 23, 2021

Yeah, seems we've messed up some face definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants