mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
feat(decorations): support more than one virt_lines block
This commit is contained in:
@@ -11,10 +11,6 @@ typedef struct {
|
||||
int hl_id;
|
||||
} VirtTextChunk;
|
||||
|
||||
typedef kvec_t(VirtTextChunk) VirtText;
|
||||
#define VIRTTEXT_EMPTY ((VirtText)KV_INITIAL_VALUE)
|
||||
typedef kvec_t(VirtText) VirtLines;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -38,4 +34,10 @@ typedef enum {
|
||||
kExtmarkUndoNoRedo, // Operation should be undoable, but not redoable
|
||||
} ExtmarkOp;
|
||||
|
||||
typedef enum {
|
||||
kDecorLevelNone = 0,
|
||||
kDecorLevelVisible = 1,
|
||||
kDecorLevelVirtLine = 2,
|
||||
} DecorLevel;
|
||||
|
||||
#endif // NVIM_EXTMARK_DEFS_H
|
||||
|
Reference in New Issue
Block a user