mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 22:06:07 +00:00
feat(api/ui): win_extmarks
This commit is contained in:
@@ -60,10 +60,11 @@ struct Decoration {
|
||||
// TODO(bfredl): in principle this should be a schar_T, but we
|
||||
// probably want some kind of glyph cache for that..
|
||||
int conceal_char;
|
||||
bool ui_watched; // watched for win_extmark
|
||||
};
|
||||
#define DECORATION_INIT { KV_INITIAL_VALUE, KV_INITIAL_VALUE, 0, kVTEndOfLine, \
|
||||
kHlModeUnknown, false, false, false, false, DECOR_PRIORITY_BASE, \
|
||||
0, 0, NULL, 0, 0, 0, 0, 0 }
|
||||
0, 0, NULL, 0, 0, 0, 0, 0, false }
|
||||
|
||||
typedef struct {
|
||||
int start_row;
|
||||
@@ -74,6 +75,8 @@ typedef struct {
|
||||
int attr_id; // cached lookup of decor.hl_id
|
||||
bool virt_text_owned;
|
||||
int win_col;
|
||||
uint64_t ns_id;
|
||||
uint64_t mark_id;
|
||||
} DecorRange;
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user