diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-11 10:25:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 10:25:24 +0100 |
commit | 7224c889e0d5d70b99ae377036baa6377c33a568 (patch) | |
tree | dcd43af5075b12db1aae2e1a087bf88599b387ff /src/nvim/option.c | |
parent | c8c930ea785aa393ebc819139913a9e05f0ccd45 (diff) | |
download | rneovim-7224c889e0d5d70b99ae377036baa6377c33a568.tar.gz rneovim-7224c889e0d5d70b99ae377036baa6377c33a568.tar.bz2 rneovim-7224c889e0d5d70b99ae377036baa6377c33a568.zip |
build: enable MSVC level 3 warnings (#21934)
MSVC has 4 different warning levels: 1 (severe), 2 (significant), 3
(production quality) and 4 (informational). Enabling level 3 warnings
mostly revealed conversion problems, similar to GCC/clang -Wconversion
flag.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 066ca8f003..32c2dc5286 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -30,7 +30,9 @@ #include <string.h> #include "auto/config.h" +#include "nvim/api/extmark.h" #include "nvim/api/private/defs.h" +#include "nvim/api/private/helpers.h" #include "nvim/ascii.h" #include "nvim/autocmd.h" #include "nvim/buffer.h" @@ -61,6 +63,7 @@ #include "nvim/keycodes.h" #include "nvim/locale.h" #include "nvim/log.h" +#include "nvim/lua/executor.h" #include "nvim/macros.h" #include "nvim/mapping.h" #include "nvim/mbyte.h" @@ -75,6 +78,8 @@ #include "nvim/option.h" #include "nvim/option_defs.h" #include "nvim/optionstr.h" +#include "nvim/os/input.h" +#include "nvim/os/lang.h" #include "nvim/os/os.h" #include "nvim/path.h" #include "nvim/popupmenu.h" @@ -95,14 +100,10 @@ #include "nvim/undo.h" #include "nvim/vim.h" #include "nvim/window.h" -#ifdef MSWIN -# include "nvim/os/pty_conpty_win.h" + +#ifdef BACKSLASH_IN_FILENAME +# include "nvim/arglist.h" #endif -#include "nvim/api/extmark.h" -#include "nvim/api/private/helpers.h" -#include "nvim/lua/executor.h" -#include "nvim/os/input.h" -#include "nvim/os/lang.h" static char e_unknown_option[] = N_("E518: Unknown option"); |