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

@@ -27,7 +27,6 @@
#include "nvim/eval.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/userfunc.h"
#include "nvim/ex_cmds2.h"
#include "nvim/ex_cmds_defs.h"
#include "nvim/ex_docmd.h"
#include "nvim/ex_eval.h"
@@ -54,6 +53,7 @@
#include "nvim/os/input.h"
#include "nvim/os/process.h"
#include "nvim/popupmnu.h"
#include "nvim/runtime.h"
#include "nvim/screen.h"
#include "nvim/state.h"
#include "nvim/types.h"