Closed cousine closed 4 months ago
Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev
You can define a specifc mode for this with auto_open and a severity filter
@folke this looks cool! thanks for pointing it and the awesome effort on v3 🥇
Some LSPs are very noisy, and its very distracting to have trouble automatically open when the message is not important.
Also setting the global severity doesn't leave you a choice to deal with useful messages.
This PR allows you to define a map of
vim.diagnostic.severity
on theauto_open
option to only open trouble when any of the results severities matches the list.