mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
fix(decorations): do not put empty virt_text (#17872)
This commit is contained in:
@@ -4335,6 +4335,9 @@ static int draw_virt_text_item(buf_T *buf, int col, VirtText vt, HlMode hl_mode,
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!*s.p) {
|
||||
continue;
|
||||
}
|
||||
int attr;
|
||||
bool through = false;
|
||||
if (hl_mode == kHlModeCombine) {
|
||||
|
Reference in New Issue
Block a user