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

Go to the source code of this file.

Data Structures

struct  signgroup_S
 
struct  signlist
 

Macros

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

Typedefs

typedef struct signgroup_S signgroup_T
 
typedef struct signlist signlist_T
 

Enumerations

enum  SignType {
  SIGN_ANY, SIGN_LINEHL, SIGN_ICON, SIGN_TEXT,
  SIGN_NUMHL
}
 

Macro Definition Documentation

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

Typedef Documentation

typedef struct signgroup_S signgroup_T
typedef struct signlist signlist_T

Enumeration Type Documentation

enum SignType
Enumerator
SIGN_ANY 
SIGN_LINEHL 
SIGN_ICON 
SIGN_TEXT 
SIGN_NUMHL