Macros | Enumerations
option.h File Reference
#include "nvim/ex_cmds_defs.h"

Go to the source code of this file.

Macros

#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 */
 

Enumerations

enum  OptionFlags {
  OPT_FREE = 1, OPT_GLOBAL = 2, OPT_LOCAL = 4, OPT_MODELINE = 8,
  OPT_WINONLY = 16, OPT_NOWIN = 32
}
 

Macro Definition Documentation

#define BCO_ALWAYS   2 /* always copy the options */
#define BCO_ENTER   1 /* going to enter the buffer */
#define BCO_NOHELP   4 /* don't touch the help related options */

Enumeration Type Documentation

Flags for option-setting functions

When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global values, get local value.

Enumerator
OPT_FREE 

Free old value if it was allocated.

OPT_GLOBAL 

Use global value.

OPT_LOCAL 

Use local value.

OPT_MODELINE 

Option in modeline.

OPT_WINONLY 

Only set window-local options.

OPT_NOWIN 

Don’t set window-local options.