neovim/runtime/lua
Evgeni Chasnovski 4ee656e4f3
feature(diagnostic): add vim.diagnostic.count() (#26807)
feat(diagnostic): add `vim.diagnostic.count()`

Problem: Getting diagnostic count based on the output of
  `vim.diagnostic.get()` might become costly as number of diagnostic
  entries grows. This is because it returns a copy of diagnostic cache
  entries (so as to not allow users to change them in place).
  Getting information about diagnostic count is frequently used in
  statusline, so it is important to be as fast as reasonbly possible.

Solution: Add `vim.diagnostic.count()` which computes severity
  counts without making copies.
2024-01-01 15:03:50 -06:00
..
nvim docs: add installation and build guides from wiki to repo 2023-12-13 17:53:36 +01:00
provider refactor(health): refactor provider healthchecks 2024-01-01 20:12:37 +01:00
vim feature(diagnostic): add vim.diagnostic.count() (#26807) 2024-01-01 15:03:50 -06:00
_vim9script.lua feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua fix(editorconfig): do not set 'endofline' 2023-08-27 19:27:25 +01:00
man.lua fix(man.lua): hardwrapped manpage is not resized #25646 2023-10-16 09:59:33 -07:00