Data Structures | Macros | Typedefs | Enumerations
sign_defs.h File Reference
#include <stdbool.h>
#include "nvim/pos.h"
#include "nvim/types.h"

Go to the source code of this file.

Data Structures

struct  signgroup_S
 
struct  sign_entry
 
struct  sign_attrs_S
 Sign attributes. Used by the screen refresh routines. More...
 

Macros

#define SGN_KEY_OFF   offsetof(signgroup_T, sg_name)
 
#define HI2SG(hi)   ((signgroup_T *)((hi)->hi_key - SGN_KEY_OFF))
 
#define SIGN_SHOW_MAX   9
 
#define SIGN_DEF_PRIO   10
 

Typedefs

typedef struct signgroup_S signgroup_T
 
typedef struct sign_entry sign_entry_T
 
typedef struct sign_attrs_S sign_attrs_T
 Sign attributes. Used by the screen refresh routines. More...
 

Enumerations

enum  SignType { SIGN_LINEHL, SIGN_NUMHL, SIGN_TEXT }
 

Macro Definition Documentation

◆ HI2SG

#define HI2SG (   hi)    ((signgroup_T *)((hi)->hi_key - SGN_KEY_OFF))

◆ SGN_KEY_OFF

#define SGN_KEY_OFF   offsetof(signgroup_T, sg_name)

◆ SIGN_DEF_PRIO

#define SIGN_DEF_PRIO   10

◆ SIGN_SHOW_MAX

#define SIGN_SHOW_MAX   9

Typedef Documentation

◆ sign_attrs_T

typedef struct sign_attrs_S sign_attrs_T

Sign attributes. Used by the screen refresh routines.

◆ sign_entry_T

typedef struct sign_entry sign_entry_T

◆ signgroup_T

typedef struct signgroup_S signgroup_T

Enumeration Type Documentation

◆ SignType

enum SignType
Enumerator
SIGN_LINEHL 
SIGN_NUMHL 
SIGN_TEXT