diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-10-23 16:54:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-23 16:54:49 +0200 |
commit | fa4b24072e13dc7303e896701f0bb6d0227caf0c (patch) | |
tree | cc0a7302e1efd5706cb25c2c29af80fe3a7ab46e /src/nvim/extmark_defs.h | |
parent | cb15055c294e6ebb9b2a65041cbff0a79cd3e69e (diff) | |
parent | 8d7816cf27c4ab08d9eff9e7ce3c541105c30ece (diff) | |
download | rneovim-fa4b24072e13dc7303e896701f0bb6d0227caf0c.tar.gz rneovim-fa4b24072e13dc7303e896701f0bb6d0227caf0c.tar.bz2 rneovim-fa4b24072e13dc7303e896701f0bb6d0227caf0c.zip |
Merge pull request #16029 from bfredl/multiline
feat(decorations): support more than one virt_lines block
Diffstat (limited to 'src/nvim/extmark_defs.h')
-rw-r--r-- | src/nvim/extmark_defs.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/extmark_defs.h b/src/nvim/extmark_defs.h index c0a4f4014f..4d4d9aefb5 100644 --- a/src/nvim/extmark_defs.h +++ b/src/nvim/extmark_defs.h @@ -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 |