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.36k stars 175 forks source link

feature: Add a setting to show the current severity filter #301

Closed MariaSolOs closed 1 year ago

MariaSolOs commented 1 year ago

Did you check the docs?

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

When switching the severity filter in the diagnostics list, it would be really useful to have some kind of label indicating the current filter, since in some cases the list might be empty and it's impossible (?) to tell which filter is currently being applied.

Describe the solution you'd like

A label somewhere in the diagnostics panel, or even a way to get this information so that one can apply it in the status line or somewhere else.

Describe alternatives you've considered

Accept the sad truth that this might be a lower priority issue :(

Additional context

No response

eatgrass commented 1 year ago

@folke maybe we can show some extra infomation based on the provider currently in used in the padded line?

MariaSolOs commented 1 year ago

Closing as this way fixed with #304.