To replicate:
- Load the minimal example below.
:set background=dark (it doesn't matter if the background is already dark)
- Notice that the content of
\emph is no longer italicized.
<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}