Merge remote-tracking branch 'vim/master'

This commit is contained in:
Kazuki Sakamoto
2018-02-24 10:08:07 -08:00
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -253,7 +253,7 @@ pum_display(
/* align right pum edge with "col" */
#ifdef FEAT_RIGHTLEFT
if (curwin->w_p_rl
&& col < max_width + pum_scrollbar + 1)
&& W_ENDCOL(curwin) < max_width + pum_scrollbar + 1)
{
pum_col = col + max_width + pum_scrollbar + 1;
if (pum_col >= Columns)
@@ -262,7 +262,7 @@ pum_display(
else if (!curwin->w_p_rl)
#endif
{
if (col > Columns - max_width - pum_scrollbar)
if (curwin->w_wincol > Columns - max_width - pum_scrollbar)
{
pum_col = Columns - max_width - pum_scrollbar;
if (pum_col < 0)
+2
View File
@@ -793,6 +793,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1538,
/**/
1537,
/**/