mirror of
https://github.com/neovim/neovim.git
synced 2026-07-30 04:18:02 +00:00
- reimplement 'winhl' in terms of highlight namespaces - check for EOF in screen tests (to indicate a likely crash)
28 lines
558 B
C
28 lines
558 B
C
#ifndef NVIM_DECORATION_PROVIDER_H
|
|
#define NVIM_DECORATION_PROVIDER_H
|
|
|
|
#include "nvim/buffer_defs.h"
|
|
|
|
typedef struct {
|
|
NS ns_id;
|
|
bool active;
|
|
LuaRef redraw_start;
|
|
LuaRef redraw_buf;
|
|
LuaRef redraw_win;
|
|
LuaRef redraw_line;
|
|
LuaRef redraw_end;
|
|
LuaRef hl_def;
|
|
int hl_valid;
|
|
bool hl_cached;
|
|
} DecorProvider;
|
|
|
|
typedef kvec_withinit_t(DecorProvider *, 4) DecorProviders;
|
|
|
|
EXTERN bool provider_active INIT(= false);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "decoration_provider.h.generated.h"
|
|
#endif
|
|
|
|
#endif // NVIM_DECORATION_PROVIDER_H
|