refactor: move non-symbols to defs.h headers

This commit is contained in:
dundargoc
2023-12-12 15:40:21 +01:00
committed by dundargoc
parent c0cb1e8e94
commit 69bc519b53
79 changed files with 514 additions and 478 deletions

View File

@@ -15,7 +15,6 @@
#include "nvim/macros_defs.h"
#include "nvim/memory.h"
#include "nvim/option.h"
#include "nvim/option_vars.h"
#include "nvim/vim_defs.h"
#include "nvim/window.h"

View File

@@ -27,5 +27,5 @@ extern const MsgpackRpcRequestHandler method_handlers[];
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "api/private/dispatch.h.generated.h"
# include "api/private/dispatch_wrappers.h.generated.h" // IWYU pragma: export
# include "keysets_defs.generated.h"
# include "keysets_defs.generated.h" // IWYU pragma: export
#endif

View File

@@ -17,7 +17,6 @@
#include "nvim/ascii_defs.h"
#include "nvim/buffer_defs.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/eval/vars.h"
#include "nvim/ex_eval.h"
#include "nvim/garray.h"

View File

@@ -2,21 +2,15 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "klib/kvec.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/dispatch.h"
#include "nvim/decoration.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/ex_eval_defs.h"
#include "nvim/getchar.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
#include "nvim/macros_defs.h"
#include "nvim/map_defs.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/message_defs.h" // IWYU pragma: keep
#define OBJECT_OBJ(o) o

View File

@@ -15,7 +15,7 @@
#include "nvim/autocmd.h"
#include "nvim/channel.h"
#include "nvim/eval.h"
#include "nvim/event/loop.h"
#include "nvim/event/defs.h"
#include "nvim/event/wstream.h"
#include "nvim/globals.h"
#include "nvim/grid.h"

View File

@@ -54,6 +54,7 @@
#include "nvim/option_vars.h"
#include "nvim/optionstr.h"
#include "nvim/os/input.h"
#include "nvim/os/os_defs.h"
#include "nvim/os/process.h"
#include "nvim/popupmenu.h"
#include "nvim/pos_defs.h"