aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-12 21:16:28 +0800
committerGitHub <noreply@github.com>2022-08-12 21:16:28 +0800
commit342d18b91ec176c5e3aa6d32d439d01e6ac88ee6 (patch)
treed80917d2820d8ddaa81023f4bfd292bbfe88053e /src/nvim/api/vim.c
parentac78639de8b89104ee8a360a48ee31a7900fe830 (diff)
downloadrneovim-342d18b91ec176c5e3aa6d32d439d01e6ac88ee6.tar.gz
rneovim-342d18b91ec176c5e3aa6d32d439d01e6ac88ee6.tar.bz2
rneovim-342d18b91ec176c5e3aa6d32d439d01e6ac88ee6.zip
refactor: remove some unused includes (#19740)
Mostly avoids including eval.h, ex_cmds2.h and ex_docmd.h in other headers.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 2842f3a43b..2622f4bb81 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -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"