mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
commit
6fbb9ceb5e
@ -6955,10 +6955,16 @@ static void n_opencmd(cmdarg_T *cap)
|
||||
(cap->cmdchar == 'o' ? 1 : 0))
|
||||
)
|
||||
&& open_line(cap->cmdchar == 'O' ? BACKWARD : FORWARD,
|
||||
has_format_option(FO_OPEN_COMS) ? OPENLINE_DO_COM :
|
||||
0, 0)) {
|
||||
if (curwin->w_p_cole > 0 && oldline != curwin->w_cursor.lnum)
|
||||
has_format_option(FO_OPEN_COMS)
|
||||
? OPENLINE_DO_COM : 0,
|
||||
0)) {
|
||||
if (curwin->w_p_cole > 0 && oldline != curwin->w_cursor.lnum) {
|
||||
update_single_line(curwin, oldline);
|
||||
}
|
||||
if (curwin->w_p_cul) {
|
||||
// force redraw of cursorline
|
||||
curwin->w_valid &= ~VALID_CROW;
|
||||
}
|
||||
invoke_edit(cap, false, cap->cmdchar, true);
|
||||
}
|
||||
}
|
||||
|
@ -556,7 +556,7 @@ static int included_patches[] = {
|
||||
// 735,
|
||||
// 734,
|
||||
// 733,
|
||||
// 732,
|
||||
732,
|
||||
// 731 NA
|
||||
// 730 NA
|
||||
729,
|
||||
|
Loading…
Reference in New Issue
Block a user