blob: 636257bfe83e43e79e3d65c8ad0dee54ecc7f818 (
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
25
26
27
|
#ifndef NVIM_OPTION_H
#define NVIM_OPTION_H
#include "nvim/ex_cmds_defs.h"
/// Returned by get_option_value().
typedef enum {
gov_unknown,
gov_bool,
gov_number,
gov_string,
gov_hidden_bool,
gov_hidden_number,
gov_hidden_string,
} getoption_T;
// flags for buf_copy_options()
#define BCO_ENTER 1 // going to enter the buffer
#define BCO_ALWAYS 2 // always copy the options
#define BCO_NOHELP 4 // don't touch the help related options
#define MAX_NUMBERWIDTH 20 // used for 'numberwidth' and 'statuscolumn'
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "option.h.generated.h"
#endif
#endif // NVIM_OPTION_H
|