mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
API: Implement buffer updates
Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
This commit is contained in:
@@ -6140,7 +6140,7 @@ static void n_swapchar(cmdarg_T *cap)
|
||||
curwin->w_set_curswant = true;
|
||||
if (did_change) {
|
||||
changed_lines(startpos.lnum, startpos.col, curwin->w_cursor.lnum + 1,
|
||||
0L);
|
||||
0L, true);
|
||||
curbuf->b_op_start = startpos;
|
||||
curbuf->b_op_end = curwin->w_cursor;
|
||||
if (curbuf->b_op_end.col > 0)
|
||||
|
Reference in New Issue
Block a user