diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-12-23 05:43:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-23 05:43:52 -0800 |
commit | 2a7d0ed6145bf3f8b139c2694563f460f829813a (patch) | |
tree | 8bb488f7cb612ecf56ccea2c62042012584eba68 /src/nvim/api/private | |
parent | 55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4 (diff) | |
download | rneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.tar.gz rneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.tar.bz2 rneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.zip |
refactor: iwyu #31637
Result of `make iwyu` (after some "fixups").
Diffstat (limited to 'src/nvim/api/private')
-rw-r--r-- | src/nvim/api/private/converter.c | 3 | ||||
-rw-r--r-- | src/nvim/api/private/helpers.c | 5 | ||||
-rw-r--r-- | src/nvim/api/private/helpers.h | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/api/private/converter.c b/src/nvim/api/private/converter.c index 59e7373f68..5f9d20ee73 100644 --- a/src/nvim/api/private/converter.c +++ b/src/nvim/api/private/converter.c @@ -1,4 +1,5 @@ #include <assert.h> +#include <lauxlib.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> @@ -7,7 +8,6 @@ #include "nvim/api/private/converter.h" #include "nvim/api/private/defs.h" #include "nvim/api/private/helpers.h" -#include "nvim/ascii_defs.h" #include "nvim/assert_defs.h" #include "nvim/eval/decode.h" #include "nvim/eval/typval.h" @@ -15,6 +15,7 @@ #include "nvim/eval/userfunc.h" #include "nvim/lua/executor.h" #include "nvim/memory.h" +#include "nvim/memory_defs.h" #include "nvim/types_defs.h" #include "nvim/vim_defs.h" diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c index 4389ae3b35..78aa7c00f7 100644 --- a/src/nvim/api/private/helpers.c +++ b/src/nvim/api/private/helpers.c @@ -31,13 +31,10 @@ #include "nvim/msgpack_rpc/unpacker.h" #include "nvim/pos_defs.h" #include "nvim/types_defs.h" -#include "nvim/ui.h" -#include "nvim/ui_defs.h" -#include "nvim/version.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "api/private/api_metadata.generated.h" -# include "api/private/helpers.c.generated.h" +# include "api/private/helpers.c.generated.h" // IWYU pragma: keep #endif /// Start block that may cause Vimscript exceptions while evaluating another code diff --git a/src/nvim/api/private/helpers.h b/src/nvim/api/private/helpers.h index 03ff811449..d581c6bc10 100644 --- a/src/nvim/api/private/helpers.h +++ b/src/nvim/api/private/helpers.h @@ -1,7 +1,7 @@ #pragma once #include <stdbool.h> -#include <stddef.h> +#include <stddef.h> // IWYU pragma: keep #include "klib/kvec.h" #include "nvim/api/private/defs.h" // IWYU pragma: keep |