fold.h
Go to the documentation of this file.
1 #ifndef NVIM_FOLD_H
2 #define NVIM_FOLD_H
3 
4 #include <stdio.h>
5 
6 #include "nvim/pos.h"
7 #include "nvim/garray.h"
8 #include "nvim/types.h"
9 #include "nvim/buffer_defs.h"
10 
11 /*
12  * Info used to pass info about a fold from the fold-detection code to the
13  * code that displays the foldcolumn.
14  */
15 typedef struct foldinfo {
16  linenr_T fi_lnum; /* line number where fold starts */
17  int fi_level; /* level of the fold; when this is zero the
18  other fields are invalid */
19  int fi_low_level; /* lowest fold level that starts in the same
20  line */
21 } foldinfo_T;
22 
23 
24 #ifdef INCLUDE_GENERATED_DECLARATIONS
25 # include "fold.h.generated.h"
26 #endif
27 #endif // NVIM_FOLD_H
int fi_level
Definition: fold.h:17
struct foldinfo foldinfo_T
int fi_low_level
Definition: fold.h:19
long linenr_T
Definition: pos.h:4
linenr_T fi_lnum
Definition: fold.h:16
Definition: fold.h:15