mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
26 lines
530 B
C
26 lines
530 B
C
#ifndef NVIM_BUFHL_DEFS_H
|
|
#define NVIM_BUFHL_DEFS_H
|
|
|
|
#include "nvim/pos.h"
|
|
#include "nvim/lib/kvec.h"
|
|
// bufhl: buffer specific highlighting
|
|
|
|
struct bufhl_hl_item
|
|
{
|
|
int src_id;
|
|
int hl_id; // highlight group
|
|
colnr_T start; // first column to highlight
|
|
colnr_T stop; // last column to highlight
|
|
};
|
|
typedef struct bufhl_hl_item bufhl_hl_item_T;
|
|
|
|
typedef kvec_t(struct bufhl_hl_item) bufhl_vec_T;
|
|
|
|
typedef struct {
|
|
bufhl_vec_T entries;
|
|
int current;
|
|
colnr_T valid_to;
|
|
} bufhl_lineinfo_T;
|
|
|
|
#endif // NVIM_BUFHL_DEFS_H
|