# HG changeset patch # User Bram Moolenaar # Date 1427822280 -7200 # Node ID e25417c299bb9fe39f76d50ceed799d9b0cbb954 # Parent 13c5f36bf531bc6ebeaa15902fa23d40fa210bbf 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 "$". diff --git a/src/edit.c b/src/edit.c --- a/src/edit.c +++ b/src/edit.c @@ -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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 688, +/**/ 687, /**/ 686,