pub const MAX_COUNT: usize = 999_999_999;Expand description
Vim caps count prefixes at 999,999,999 (:h count); mirror that cap on
every value that can feed a 0..count apply loop so a pathological digit
stream (<20 nines>x) saturating toward usize::MAX can’t freeze the
editor. Matches CountAccumulator::MAX_COUNT in hjkl-vim.