lewis6991 / satellite.nvim

Decorate scrollbar for Neovim
MIT License
542 stars 20 forks source link

Hide diagnostics depending on `vim.diagnostic.is_disabled()` #59

Open alexmozaidze opened 10 months ago

alexmozaidze commented 10 months ago

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: macro-heavy keymaps

When I disable diagnostics using vim.diagnostic.disable(): macro-heavy keymaps with diagnostics disabled