sign_defs.h
Go to the documentation of this file.
1 #ifndef NVIM_SIGN_DEFS_H
2 #define NVIM_SIGN_DEFS_H
3 
4 #include "nvim/pos.h"
5 
6 // signs: line annotations
7 
8 typedef struct signlist signlist_T;
9 
10 struct signlist
11 {
12  int id; // unique identifier for each placed sign
13  linenr_T lnum; // line number which has this sign
14  int typenr; // typenr of sign
15  signlist_T *next; // next signlist entry
16 };
17 
18 // type argument for buf_getsigntype() and sign_get_attr()
19 typedef enum {
25 } SignType;
26 
27 
28 
29 #endif // NVIM_SIGN_DEFS_H
int typenr
Definition: sign_defs.h:14
int id
Definition: sign_defs.h:12
Definition: sign_defs.h:23
Definition: sign_defs.h:20
Definition: sign_defs.h:22
signlist_T * next
Definition: sign_defs.h:15
Definition: sign_defs.h:21
SignType
Definition: sign_defs.h:19
long linenr_T
Definition: pos.h:4
linenr_T lnum
Definition: sign_defs.h:13
Definition: sign_defs.h:24
Definition: sign_defs.h:10