We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea683da commit 4664371Copy full SHA for 4664371
src/ex_getln.c
@@ -5762,7 +5762,7 @@ add_to_history(
5762
*/
5763
if (histype == HIST_SEARCH && in_map)
5764
{
5765
- if (maptick == last_maptick)
+ if (maptick == last_maptick && hisidx[HIST_SEARCH] >= 0)
5766
5767
/* Current line is from the same mapping, remove it */
5768
hisptr = &history[HIST_SEARCH][hisidx[HIST_SEARCH]];
src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
763
764
static int included_patches[] =
765
{ /* Add new patch number below this line */
766
+/**/
767
+ 2357,
768
/**/
769
2356,
770
0 commit comments