Files
neovim/test/functional/lua
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
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2025-09-03 23:03:51 -04:00
2024-04-23 18:17:04 +02:00