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

Emphasis in syntax highlighting is lost when colorscheme is reconfigured #2152

Closed
bongbang opened this issue Aug 28, 2021 · 1 comment
Closed

Comments

@bongbang
Copy link

bongbang commented Aug 28, 2021

To replicate:

  1. Load the minimal example below.
  2. :set background=dark (it doesn't matter if the background is already dark)
  3. Notice that the content of \emph is no longer italicized.
  4. <local-leader>lx to get the italics back.

The problem also occurs when the color scheme is switched by the :colo command.

\documentclass{article}
\begin{document}
Watch this \emph{emphasis}.
\end{document}
lervag added a commit that referenced this issue Aug 28, 2021
@lervag
Copy link
Owner

lervag commented Aug 28, 2021

I believe this is fixed now.

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

No branches or pull requests

2 participants