Exclude gitignored files' diagnostics from project panel and its indicator.

The diagnostics are collected and available still, since that might become a settings/UI toggle later.
Also, buffer diagnostics are still updated for gitignored files.
69bfd47cf9Kirill Bulatov committed on 11/30/2023, 1:46:30 PMparent7b76db4
5 files changedLine totals unavailable