mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 09:31:47 +00:00
vim-patch:9.1.1132: Mark positions wrong after triggering multiline completion (#32564)
Problem: Mark positions wrong after triggering multiline completion.
Solution: Call deleted_lines_mark() after deleting lines.
(zeertzjq)
closes: vim/vim#16687
060e6556e2
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
This commit is contained in:
@@ -3795,6 +3795,7 @@ void ins_compl_delete(bool new_leader)
|
||||
}
|
||||
return;
|
||||
}
|
||||
deleted_lines_mark(curwin->w_cursor.lnum, 1);
|
||||
curwin->w_cursor.lnum--;
|
||||
}
|
||||
// move cursor to end of line
|
||||
|
||||
Reference in New Issue
Block a user