mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
decoration: split out "decoration" from "extmark" module
Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
This commit is contained in:
@@ -79,29 +79,6 @@ struct undo_object {
|
||||
};
|
||||
|
||||
|
||||
typedef struct {
|
||||
int start_row;
|
||||
int start_col;
|
||||
int end_row;
|
||||
int end_col;
|
||||
int attr_id;
|
||||
VirtText *virt_text;
|
||||
bool virt_text_owned;
|
||||
} HlRange;
|
||||
|
||||
typedef struct {
|
||||
MarkTreeIter itr[1];
|
||||
kvec_t(HlRange) active;
|
||||
int top_row;
|
||||
int row;
|
||||
int col_until;
|
||||
int current;
|
||||
VirtText *virt_text;
|
||||
} DecorationRedrawState;
|
||||
|
||||
EXTERN kvec_t(DecorationProvider) decoration_providers INIT(= KV_INITIAL_VALUE);
|
||||
EXTERN win_T *redrawn_win INIT(= NULL); // used for ephemeral extmarks
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "extmark.h.generated.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user