-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The Codemirror editor doesn't show highlighted text if it's on the active line.
For example, see the image below. I've selected String inside the active line (static validatedValue...), but the selection is not shown. It's hidden behind the active line background.
Codemirror, by default, with no themes, uses a transparent colour for the active line background. This allows the colour from the selection to pass through.
This also works inside the catppuccin theme, following the example above, where the active line colour is #313244, if it's set to any transparent value (I've used #31324490), the selection is able to shine through, and the issue solved (see image below).
I'd send a PR, but I'm not sure about which transparency values would be appropriate for catppuccin.