mirror of
https://github.com/vim/vim.git
synced 2025-11-10 10:47:23 -05:00
patch 9.1.0772: some missing changes from v9.1.0771
Problem: some missing changes from v9.1.0771
Solution: use correct highlighting attribute and adjust comments
(glepnir)
closes: #15836
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0fe17f8ffb
commit
7baa014d0f
@@ -777,10 +777,7 @@ pum_redraw(void)
|
||||
}
|
||||
|
||||
if (attrs != NULL)
|
||||
{
|
||||
vim_free(attrs);
|
||||
attrs = NULL;
|
||||
}
|
||||
VIM_CLEAR(attrs);
|
||||
|
||||
if (*p != TAB)
|
||||
break;
|
||||
@@ -790,14 +787,14 @@ pum_redraw(void)
|
||||
if (pum_rl)
|
||||
{
|
||||
screen_puts_len((char_u *)" ", 2, row, col - 1,
|
||||
orig_attr);
|
||||
attr);
|
||||
col -= 2;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
screen_puts_len((char_u *)" ", 2, row, col,
|
||||
orig_attr);
|
||||
attr);
|
||||
col += 2;
|
||||
}
|
||||
totwidth += 2;
|
||||
@@ -826,7 +823,7 @@ pum_redraw(void)
|
||||
if (pum_rl)
|
||||
{
|
||||
screen_fill(row, row + 1, pum_col - basic_width - n + 1,
|
||||
col + 1, ' ', ' ', attr);
|
||||
col + 1, ' ', ' ', orig_attr);
|
||||
col = pum_col - basic_width - n;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user