Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/foxfirecodes/diagnostic-filter.nvim
- Owner: foxfirecodes
- Created: 2023-08-04T02:24:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-04T02:26:12.000Z (over 1 year ago)
- Last Synced: 2024-12-25T05:21:05.137Z (12 days ago)
- Language: Lua
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
},
})
```