0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.688

Problem:    When "$" is in 'cpo' the popup menu isn't undrawn correctly.
            (Issue 166)
Solution:   When using the popup menu remove the "$".
This commit is contained in:
Bram Moolenaar
2015-03-31 19:18:00 +02:00
parent 1e7813a187
commit 478c46e50f
2 changed files with 6 additions and 0 deletions

View File

@@ -3008,6 +3008,10 @@ ins_compl_show_pum()
if (compl_match_array != NULL)
{
/* In Replace mode when a $ is displayed at the end of the line only
* part of the screen would be updated. We do need to redraw here. */
dollar_vcol = -1;
/* Compute the screen column of the start of the completed text.
* Use the cursor to get all wrapping and other settings right. */
col = curwin->w_cursor.col;

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
688,
/**/
687,
/**/