diff options
| author | Grzegorz Rozdzialik <voreny.gelio@gmail.com> | 2025-11-17 18:37:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 09:37:59 -0800 |
| commit | 2767eac320ef3f422236cbc8ce2228b02e11bd31 (patch) | |
| tree | cee059dfabc6c366c8551ca2c92918ee1336811f /runtime/lua/vim/_extui.lua | |
| parent | 5d258854a7fb7df08139c54f5dca1f7f8a490c75 (diff) | |
| download | rneovim-2767eac320ef3f422236cbc8ce2228b02e11bd31.tar.gz rneovim-2767eac320ef3f422236cbc8ce2228b02e11bd31.tar.bz2 rneovim-2767eac320ef3f422236cbc8ce2228b02e11bd31.zip | |
feat(diagnostics): stack DiagnosticUnnecessary,DiagnosticDeprecated highlights #36590
Problem: unnecessary and deprecated diagnostics use their own highlight
groups (`DiagnosticUnnecessary` and `DiagnosticDeprecated`) which
override the typical severity-based highlight groups (like
`DiagnosticUnderlineWarn`).
This can be misleading, since diagnostics about unused variables which
are warnings or errors, are shown like comments, since then only the
`DiagnosticUnnecessary` highlight group is used. Users do not see the
more eye-catching red/yellow highlight.
Solution: Instead of overriding the highlight group to
`DiagnosticUnnecessary` or `DiagnosticDeprecated`, set them in addition
to the normal severity-based highlights.
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
0 files changed, 0 insertions, 0 deletions