Use proper settings in the diagnostics section (#29791)

Follow-up of https://github.com/zed-industries/zed/pull/29706

Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>
d1b35be353Kirill Bulatov committed on 5/2/2025, 1:48:52 PM· committed by GitHubparent49a71ec
1 file changedLine totals unavailable