diff options
Diffstat (limited to 'src/nvim/option.h')
-rw-r--r-- | src/nvim/option.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/option.h b/src/nvim/option.h index 7bc379c843..9e936f39ca 100644 --- a/src/nvim/option.h +++ b/src/nvim/option.h @@ -56,6 +56,7 @@ typedef struct vimoption { /// cmdline. Only useful for string options. opt_expand_cb_T opt_expand_cb; + // TODO(famiu): Use OptVal for def_val. void *def_val; ///< default values for variable (neovim!!) LastSet last_set; ///< script in which the option was last set } vimoption_T; @@ -72,6 +73,7 @@ enum { /// When OPT_GLOBAL and OPT_LOCAL are both missing, set both local and global /// values, get local value. typedef enum { + // TODO(famiu): See if `OPT_FREE` is really necessary and remove it if not. OPT_FREE = 0x01, ///< Free old value if it was allocated. OPT_GLOBAL = 0x02, ///< Use global value. OPT_LOCAL = 0x04, ///< Use local value. |