mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
feat(decorations): support more than one virt_lines block
This commit is contained in:
@@ -78,7 +78,9 @@ typedef struct {
|
||||
#define DECOR_LEVELS 4
|
||||
#define DECOR_OFFSET 61
|
||||
#define DECOR_MASK (((uint64_t)(DECOR_LEVELS-1)) << DECOR_OFFSET)
|
||||
static inline uint8_t mt_decor_level(uint64_t id) {
|
||||
|
||||
static inline uint8_t marktree_decor_level(uint64_t id)
|
||||
{
|
||||
return (uint8_t)((id&DECOR_MASK) >> DECOR_OFFSET);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user