Exclude gitignored files' diagnostics from project panel and its indicator. (#3458)

Based on influencer's feedback.

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.

Release Notes:

- Excluded gitignored files' diagnostics from project panel and its
indicator.
cdae8ebd06Kirill Bulatov committed on 11/30/2023, 2:06:16 PM· committed by GitHubparents7b76db4091d935
10 files changedLine totals unavailable