Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lines aren't swappped if the origin line is longer than the target. The origin line is replaced by the target line, but the target line remains unchanged. The cause is passing 1-indexed number of line `nvim_buf_get_offset`, but the function accepts a 0-indexed line number.
- Loading branch information