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. |
||
|---|---|---|
| .. | ||
| pending | ||