Hide diagnostics depending on vim.diagnostic.is_disabled()
#59
Labels
enhancement
New feature or request
vim.diagnostic.is_disabled()
#59
Is your feature request related to a problem? Please describe.
Whenever I use an incomplete LSP that doesn't support some features of the language (like Fennel LSP), I get a lot of false-positives, which clutter up the view. I made a binding to toggle diagnostics, but when I do so, Satellite continues on showing them, even though they're supposed to be disabled.
Describe the solution you'd like
Disabling diagnostics depending on
vim.diagnostic.is_disabled()
.Describe alternatives you've considered
Just ignoring it. It's not much of a problem for any other LSP that is feature-complete.
Additional context
Screenshot of a macro-heavy config file, which Fennel LSP doesn't fully support yet:
When I disable diagnostics using
vim.diagnostic.disable()
:The text was updated successfully, but these errors were encountered: