mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +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
@@ -17,6 +17,7 @@ typedef struct
|
||||
int hl_id; // highlight group
|
||||
VirtText virt_text;
|
||||
// TODO(bfredl): style, signs, etc
|
||||
bool shared; // shared decoration, don't free
|
||||
} Decoration;
|
||||
|
||||
typedef struct
|
||||
|
Reference in New Issue
Block a user