aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight_group.h
blob: ca7bd362711bba1d9e9a9033afe36c1110915ec1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "nvim/api/keysets_defs.h"
#include "nvim/api/private/defs.h"  // IWYU pragma: keep
#include "nvim/api/private/helpers.h"
#include "nvim/cmdexpand_defs.h"  // IWYU pragma: keep
#include "nvim/highlight_defs.h"
#include "nvim/types_defs.h"  // IWYU pragma: keep

#define MAX_HL_ID 20000   // maximum value for a highlight ID.

typedef struct {
  char *name;
  RgbValue color;
} color_name_table_T;
extern color_name_table_T color_name_table[];

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "highlight_group.h.generated.h"
#endif