Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only filter msg if sev is hardcoded #328

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

Willem-J-an
Copy link
Contributor

Fixes previous breaking change #304 that prevented nvim severity tables from working, such as:

require("trouble").setup({
	severity = { min = vim.diagnostic.severity.INFO },
})

Optimal fix might be a less naive way of filtering severity, but I'd leave that for somebody that cares about this feature.

Fixes previous breaking change that prevented nvim severity tables from
working, such as:
require("trouble").setup({
	severity = { min = vim.diagnostic.severity.INFO },
})

Optimal fix might be a less naive way of filtering severity, but I'd
leave that for somebody that cares about this feature.
@folke folke merged commit 0ccc43d into folke:main Aug 30, 2023
@folke
Copy link
Owner

folke commented Aug 30, 2023

thanks!

@Willem-J-an Willem-J-an deleted the fix-broken-severity branch August 30, 2023 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants