Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Optimize counting of diagnostics with new vim.diagnostic.count() (nvim 0.10+) #1239

Open
camoz opened this issue May 18, 2024 · 0 comments
Labels
new feature New feature or feature request

Comments

@camoz
Copy link

camoz commented May 18, 2024

Requested feature

Optimize counting of diagnostics with new function 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.html

Motivation

Performance improvement.

@camoz camoz added the new feature New feature or feature request label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

1 participant