Files
neovim/runtime/lua/vim
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
..
2024-01-01 12:20:19 +01:00
2023-09-20 13:42:41 +01:00
2023-12-30 17:40:53 +01:00
2023-12-28 10:28:48 +08:00
2023-12-30 17:40:53 +01:00
2023-12-30 17:40:53 +01:00
2023-09-14 08:23:01 -05:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2023-12-30 17:40:53 +01:00
2023-09-04 22:42:47 +02:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2023-11-16 11:35:54 -06:00
2023-12-30 17:40:53 +01:00
2023-09-23 23:46:45 +01:00