Skip to content

LSP diagnostics without severity levels render as confusing inline blocks resembling block cursor. Themes missing fallback diagnostic. #13801

Open
@k4lizen

Description

@k4lizen

I use the theme ayu_mirage. As of ~recent, when an inline warning pops up it highlights the first character that the warning refers to. This is pretty cool!

But!

Image

It is hard for me to visually tell where the cursor is amongst the warnings. The cursor block is a bit darker, and also that line is highlighted which does help, but really, the contrast between the warning highlights and the cursor highlight should be much better. The problem is exacerbated when using multiple cursors and having to keep track of them all - it can get really unwieldy.

This problem is also apparent on lots of other themes. Here are two themes where I think this particular problem is handled nicely.
monokai_pro_spectrum
The warning highlights have low opacity.
Image
gruvbox
A little squigly is used instead of the whole charater being highlighted. This is pretty good also.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions