Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/foxfirecodes/diagnostic-filter.nvim

a simple neovim plugin to let you filter out diagnostics based on patterns.
https://github.com/foxfirecodes/diagnostic-filter.nvim

Last synced: 5 days ago
JSON representation

a simple neovim plugin to let you filter out diagnostics based on patterns.

Awesome Lists containing this project

README

        

# diagnostic-filter.nvim

> a simple neovim plugin to let you filter out diagnostics based on patterns.

## installation

### lazy.nvim

```lua
require("lazy").setup({
"rayzr522/diagnostic-filter.nvim",
})
```

here's an example configuration with `eslint_d`'s "no configuration found" error suppressed (the whole reason i built this plugin lol):

```lua
require("lazy").setup({
{
"rayzr522/diagnostic-filter.nvim",
ft = { "javascript", "typescript", "javascriptreact", "typescriptreact" },
config = function()
require('diagnostic-filter').setup({
diagnostic_filters = {
["eslint_d"] = { "^Error: No ESLint configuration found in .*$" }
}
})
end
},
})
```