diff options
Diffstat (limited to 'src/nvim/option.h')
-rw-r--r-- | src/nvim/option.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nvim/option.h b/src/nvim/option.h index a36c57eab0..a7d02cc1cd 100644 --- a/src/nvim/option.h +++ b/src/nvim/option.h @@ -2,12 +2,14 @@ #include <stdint.h> +#include "nvim/api/private/defs.h" // IWYU pragma: keep #include "nvim/api/private/helpers.h" #include "nvim/cmdexpand_defs.h" // IWYU pragma: keep #include "nvim/eval/typval_defs.h" #include "nvim/ex_cmds_defs.h" // IWYU pragma: keep #include "nvim/option_defs.h" // IWYU pragma: export #include "nvim/search.h" +#include "nvim/types.h" /// The options that are local to a window or buffer have "indir" set to one of /// these values. Special values: @@ -94,13 +96,6 @@ enum { SOPT_BUF = 0x20, ///< Option has buffer-local value }; -/// Requested option scopes for various functions in option.c -typedef enum { - kOptReqGlobal = 0, ///< Request global option value - kOptReqWin = 1, ///< Request window-local option value - kOptReqBuf = 2, ///< Request buffer-local option value -} OptReqScope; - // OptVal helper macros. #define NIL_OPTVAL ((OptVal) { .type = kOptValTypeNil }) #define BOOLEAN_OPTVAL(b) ((OptVal) { .type = kOptValTypeBoolean, .data.boolean = b }) |