Files
neovim/runtime/lua/vim
Grzegorz Rozdzialik 2767eac320 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.
2025-11-17 09:37:59 -08:00
..
2025-11-16 20:36:07 -08:00
2025-11-16 20:36:07 -08:00
2025-08-17 11:54:53 +08:00
2025-10-12 12:16:14 +08:00
2025-06-06 15:36:48 +01:00
2025-11-15 22:47:38 -05:00
2025-11-15 22:47:38 -05:00
2025-09-16 11:41:36 +08:00
2025-10-24 02:07:37 +02:00
2025-09-16 11:41:36 +08:00
2025-06-14 17:24:36 +02:00