folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.11k stars 173 forks source link

feature: Make files in `diagnostics` use `TroubleFileName` color #507

Closed GrzegorzKozub closed 2 weeks ago

GrzegorzKozub commented 2 weeks ago

Did you check the docs?

Is your feature request related to a problem? Please describe.

Inconsistent highlighting of files across different Trouble views.

Describe the solution you'd like

Would it be possible to highlight file names in diagnostics with TroubleFileName, similar to symbols? Currently they seem to be highlighted by TroubleNormal.

image

Describe alternatives you've considered

Changing TroubleNormal helps but also changes the color of the diagnostic messages in Trouble window so it's not ideal.

Additional context

No response

GrzegorzKozub commented 2 weeks ago

Thank you 😃