lualine.nvim
lualine.nvim copied to clipboard
Check if diagnostics are disabled.
Introduce a check for each diagnostic namespace whether that namespace has been disabled via vim.diagnostic.disable before counting it.
Also tidy the three neovim diagnostic counters with a common function.
Applies to "nvim_lsp", "nvim_workspace_diagnostic", "nvim_diagnostic".