aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/option_defs.h')
-rw-r--r--src/nvim/option_defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h
index c808154186..c2d62d772b 100644
--- a/src/nvim/option_defs.h
+++ b/src/nvim/option_defs.h
@@ -981,8 +981,11 @@ enum {
// Argument for the callback function (opt_did_set_cb_T) invoked after an
// option value is modified.
typedef struct {
+ // Pointer to the option variable. The variable can be a long (numeric
+ // option), an int (boolean option) or a char pointer (string option).
+ char *os_varp;
+ int os_idx;
int os_flags;
- char *os_varp; // pointer to the option variable
// old value of the option (can be a string, number or a boolean)
union {