Mercurial > vim
changeset 6729:e25417c299bb v7.4.688
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 "$".
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 31 Mar 2015 19:18:00 +0200 |
parents | 13c5f36bf531 |
children | f7b237bd6606 |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;