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
 
#define BCO_ALWAYS   2
 
#define BCO_NOHELP   4
 

Enumerations

enum  OptionFlags {
  OPT_FREE = 1, OPT_GLOBAL = 2, OPT_LOCAL = 4, OPT_MODELINE = 8,
  OPT_WINONLY = 16, OPT_NOWIN = 32, OPT_ONECOLUMN = 64, OPT_NO_REDRAW = 128,
  OPT_SKIPRTP = 256
}
 

Macro Definition Documentation

◆ BCO_ALWAYS

#define BCO_ALWAYS   2

◆ BCO_ENTER

#define BCO_ENTER   1

◆ BCO_NOHELP

#define BCO_NOHELP   4

Enumeration Type Documentation

◆ OptionFlags

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.

OPT_ONECOLUMN 

list options one per line

OPT_NO_REDRAW 

ignore redraw flags on option

OPT_SKIPRTP 

"skiprtp" in 'sessionoptions'