mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
commit
b1854cefea
@ -2322,7 +2322,6 @@ static int ins_compl_make_cyclic(void)
|
|||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Set variables that store noselect and noinsert behavior from the
|
// Set variables that store noselect and noinsert behavior from the
|
||||||
// 'completeopt' value.
|
// 'completeopt' value.
|
||||||
void completeopt_was_set(void)
|
void completeopt_was_set(void)
|
||||||
|
@ -7970,7 +7970,8 @@ static void ex_startinsert(exarg_T *eap)
|
|||||||
static void ex_stopinsert(exarg_T *eap)
|
static void ex_stopinsert(exarg_T *eap)
|
||||||
{
|
{
|
||||||
restart_edit = 0;
|
restart_edit = 0;
|
||||||
stop_insert_mode = TRUE;
|
stop_insert_mode = true;
|
||||||
|
clearmode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -6827,12 +6827,18 @@ void unshowmode(bool force)
|
|||||||
if (!redrawing() || (!force && char_avail() && !KeyTyped)) {
|
if (!redrawing() || (!force && char_avail() && !KeyTyped)) {
|
||||||
redraw_cmdline = true; // delete mode later
|
redraw_cmdline = true; // delete mode later
|
||||||
} else {
|
} else {
|
||||||
|
clearmode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Clear the mode message.
|
||||||
|
void clearmode(void)
|
||||||
|
{
|
||||||
msg_pos_mode();
|
msg_pos_mode();
|
||||||
if (Recording) {
|
if (Recording) {
|
||||||
recording_mode(hl_attr(HLF_CM));
|
recording_mode(hl_attr(HLF_CM));
|
||||||
}
|
}
|
||||||
msg_clr_eos();
|
msg_clr_eos();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void recording_mode(int attr)
|
static void recording_mode(int attr)
|
||||||
|
@ -748,7 +748,7 @@ static int included_patches[] = {
|
|||||||
// 1699,
|
// 1699,
|
||||||
// 1698 NA
|
// 1698 NA
|
||||||
1697,
|
1697,
|
||||||
// 1696,
|
1696,
|
||||||
1695,
|
1695,
|
||||||
// 1694 NA
|
// 1694 NA
|
||||||
// 1693 NA
|
// 1693 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user