Files
neovim/src
Riccardo Mazzarini 7da4d6abe2 fix(api): on_bytes gets stale data on :substitute #36487
Problem: `extmark_splice()` was being called before `ml_replace()`,
which caused the on_bytes callback to be invoked with the old buffer
text instead of the new text.

Solution: store metadata for each match in a growing array, call
`ml_replace()` once to update the buffer, then call `extmark_splice()`
once per match.

Closes https://github.com/neovim/neovim/issues/36370.
2025-11-20 21:40:08 -08:00
..
2025-11-18 12:35:22 -08:00
2025-09-13 22:49:50 -04:00
2023-11-05 20:19:06 +01:00
2025-08-02 15:58:11 -07:00