mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
feat(decorations): support virtual lines (for now: only one block at a time)
This commit is contained in:
@@ -1627,7 +1627,7 @@ VirtText parse_virt_text(Array chunks, Error *err, int *width)
|
||||
}
|
||||
}
|
||||
|
||||
char *text = transstr(str.size > 0 ? str.data : ""); // allocates
|
||||
char *text = transstr(str.size > 0 ? str.data : "", false); // allocates
|
||||
w += (int)mb_string2cells((char_u *)text);
|
||||
|
||||
kv_push(virt_text, ((VirtTextChunk){ .text = text, .hl_id = hl_id }));
|
||||
|
Reference in New Issue
Block a user