Open nick42d opened 3 months ago
This would be solved by implementing fzf ORs operator. The last bit of fzf syntax we don't support yet. I have also found myself missing these for other applications. Then you could do $severity err|warn|info
for example. I don't think adding a config option is something we would that. We are generally extremely conservative ablut adding config options.
For now, you should be able to enter %sev ERROR to filter that column. But this picker doesnt keep a history of what you entered so you would have to type it each time as you go through them.
that is the same thing I was saying but only works for error but not for warnings for example (issue is about minimum severisyt not about just showing a single severity). I don't think manually typing a couple of characters into the picker is something that needs a config option
Cheers both! Learned some things from this;
%s ERR
will show only errors.From my perspective this covers my use case for now. I would generally just want to see errors only or all diagnostics. I will see if I can contribute to the docs PR at all.
When working on a branch with a large number of diagnostic warnings, errors can get drowned out. It would be nice to have a way of toggling this.
languages.toml diagnostic-severity is not suitable, as once I have tackled the errors I would like to toggle and move onto the warnings without editing configuration.