Commit Graph
2 Commits
Author SHA1 Message Date
dualfroz 76a28a2676 editor: Don't skip unnecessary errors and warnings in GoToDiagnostic
Go to next/previous diagnostic skipped every diagnostic tagged as
unnecessary, while the editor only drops the underline for unnecessary
diagnostics below warning severity. An error that is also tagged as
unnecessary, like an unused variable in Go, was shown with a red
squiggle but F8 jumped right past it.

Only skip unnecessary diagnostics that are faded out without an
underline, matching how they are rendered.

Closes #64790
2026-10-02 16:47:40 +02:00
upstream 64c48eedc9 Upstream zed-industries/zed state of the touched files before ce42164fb9 2026-10-02 16:47:40 +02:00