mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 20:48:32 +00:00
decor: sketch new decorations API
return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
This commit is contained in:

committed by
Thomas Vigouroux

parent
d3302573ba
commit
49f5b57587
@@ -13,9 +13,12 @@ typedef struct
|
||||
uint64_t mark_id;
|
||||
int row;
|
||||
colnr_T col;
|
||||
int end_row;
|
||||
colnr_T end_col;
|
||||
Decoration *decor;
|
||||
} ExtmarkInfo;
|
||||
|
||||
typedef kvec_t(ExtmarkInfo) ExtmarkArray;
|
||||
typedef kvec_t(ExtmarkInfo) ExtmarkInfoArray;
|
||||
|
||||
|
||||
// delete the columns between mincol and endcol
|
||||
|
Reference in New Issue
Block a user