Add curled and dotted underline for diagnostics #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm wondering if support for underline styles (helix#3015, superseded by helix#4064) is planned. This would bring the themes in this repo on par with the default themes in terms of diagnostic support.
There are currently 4 underline styles:
curl
dashed
dotted
(docs mentiondot
but that is not correct on master)double_underline
These should ideally feel familiar, so the color should match the gutter icon's color, the style should match what other popular editors do.
Other Editors
Diagnostic differences:
IntelliJ-based IDEs
undercurled
undercurled
underdotted
undercurled
Visual Studio Code
undercurled
undercurled
underdashed
underdashed
Most themes for these editors don't interfere with the default styling of the diagnostics. The changes are simple
As well as removing the deprecated option for the fallback style and changing it to curl (same as the default theme):
I've tried this with
gruvbox_original_dark_hard
only, but I figure this Is simple enough that it should work for all of them.It's up to you if prefer curl for all of them or dashed over dotted, I thought the distinction from color only is a bit hard to see, and the dashed underline looked kind of weird to me.