vimgdbvim-plugincolor-schemevim-syntax-highlighting

How do I fix the current line color using solarized vim dark mode using Termdebug?


I'm using solarized with vim and when I'm debugging (using Termdebug), the current execution line is missing:

enter image description here

I've been working around the issue by switching to light mode:

enter image description here

If I go back to dark, then I have a cursor color :

enter image description here

It is not a good color though. The text is hardly readable.

What might be the problem? Can I fix it or are there any workarounds?

I'm using gnome terminal 3.28.2 and am using the solarized color scheme for it.


Solution

  • Solarized hasn't been updated in 12 years. Meanwhile, a lot happened in Vim that Solarized doesn't support. Like the TermDebug feature that comes with two new highlight groups: debugPC and debugBreakpoint.

    If you really want to keep using Solarized, I would recommend you drop the hopelessly broken original in favor of a hackable competently made and maintained interpretation like solarized8.