refactor: remove some unused includes (#19740)

Mostly avoids including eval.h, ex_cmds2.h and ex_docmd.h in other
headers.
This commit is contained in:
zeertzjq
2022-08-12 21:16:28 +08:00
committed by GitHub
parent ac78639de8
commit 342d18b91e
34 changed files with 34 additions and 24 deletions

View File

@@ -7,7 +7,9 @@
#include "nvim/buffer_defs.h"
#include "nvim/charset.h"
#include "nvim/eval.h"
#include "nvim/eval/funcs.h"
#include "nvim/ex_docmd.h"
#include "nvim/fold.h"
#include "nvim/highlight_group.h"
#include "nvim/match.h"
@@ -16,6 +18,7 @@
#include "nvim/regexp.h"
#include "nvim/runtime.h"
#include "nvim/screen.h"
#include "nvim/vim.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "match.c.generated.h"