pending.nvim/lua
Barrett Ruth 666690ad48 fix(buffer): correct extmark drift on open_line above/below done tasks
Problem: `open_line` used `nvim_buf_set_lines` which triggered `on_bytes`
with a `start_row` offset designed for native `o`/`O` keypresses. The
`_meta` entry was inserted one position too late, causing the done task's
`PendingDone` highlight to attach to the new blank line instead.

Solution: suppress `on_bytes` during `open_line` by reusing the
`_rendering` guard, insert the meta entry at the correct position, and
immediately reapply inline extmarks for the affected rows.
2026-03-09 00:12:48 -04:00
..
pending fix(buffer): correct extmark drift on open_line above/below done tasks 2026-03-09 00:12:48 -04:00