#ifndef NVIM_OPTION_H #define NVIM_OPTION_H /* 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 */ /* * "flags" values for option-setting functions. * When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global * values, get local value. */ #define OPT_FREE 1 /* free old value if it was allocated */ #define OPT_GLOBAL 2 /* use global value */ #define OPT_LOCAL 4 /* use local value */ #define OPT_MODELINE 8 /* option in modeline */ #define OPT_WINONLY 16 /* only set window-local options */ #define OPT_NOWIN 32 /* don't set window-local options */ #ifdef INCLUDE_GENERATED_DECLARATIONS # include "option.h.generated.h" #endif #endif // NVIM_OPTION_H