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

refactor: remove no longer needed open_all_diagnostics #290

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Dec 10, 2021

This is a breaking change. With the new diagnostics api this is no
longer needed. There are actually built-in ways to do this.

vim.diagnostic.setqflist() // all diagnostics
vim.diagnostic.setqflist({severity = "E"}) // all errors
vim.diagnostic.setqflist({severity = "W"}) // all warnings

This is a breaking change. With the new diagnostics api this is no
longer needed. There are actually built-in ways to do this.

```lua
vim.diagnostic.setqflist() // all diagnostics
vim.diagnostic.setqflist({severity = "E"}) // all errors
vim.diagnostic.setqflist({severity = "W"}) // all warnings
```
@ckipp01 ckipp01 merged commit 852d27b into scalameta:main Dec 10, 2021
@ckipp01 ckipp01 deleted the diags branch December 10, 2021 13:25
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.

1 participant