Open camoz opened 1 month ago
Optimize counting of diagnostics with new function [vim.diagnostic.count()](https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.count()) (nvim 0.10+) where possible.
vim.diagnostic.count()
This is more efficient and thus preferred over using vim.diagnostic.get() for counting diagnostics manually (as it is currently done in lualine), according to https://neovim.io/doc/user/news-0.10.html
vim.diagnostic.get()
Performance improvement.
Requested feature
Optimize counting of diagnostics with new function [
vim.diagnostic.count()
](https://neovim.io/doc/user/diagnostic.html#vim.diagnostic.count()) (nvim 0.10+) where possible.This is more efficient and thus preferred over using
vim.diagnostic.get()
for counting diagnostics manually (as it is currently done in lualine), according to https://neovim.io/doc/user/news-0.10.htmlMotivation
Performance improvement.