aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/sign_defs.h
blob: 7288a48e2198745883cd03c379b6e21fac9e6dd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef NVIM_SIGN_DEFS_H
#define NVIM_SIGN_DEFS_H

// signs: line annotations

typedef struct signlist signlist_T;

struct signlist
{
    int id;             /* unique identifier for each placed sign */
    linenr_T lnum;      /* line number which has this sign */
    int typenr;         /* typenr of sign */
    signlist_T *next;   /* next signlist entry */
};

/* type argument for buf_getsigntype() */
#define SIGN_ANY	0
#define SIGN_LINEHL	1
#define SIGN_ICON	2
#define SIGN_TEXT	3



#endif // NVIM_SIGN_DEFS_H