diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-12 21:16:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 21:16:28 +0800 |
commit | 342d18b91ec176c5e3aa6d32d439d01e6ac88ee6 (patch) | |
tree | d80917d2820d8ddaa81023f4bfd292bbfe88053e /src/nvim/api/vimscript.c | |
parent | ac78639de8b89104ee8a360a48ee31a7900fe830 (diff) | |
download | rneovim-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/vimscript.c')
-rw-r--r-- | src/nvim/api/vimscript.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/api/vimscript.c b/src/nvim/api/vimscript.c index 478e146781..3b25e3aa38 100644 --- a/src/nvim/api/vimscript.c +++ b/src/nvim/api/vimscript.c @@ -14,8 +14,9 @@ #include "nvim/eval.h" #include "nvim/eval/typval.h" #include "nvim/eval/userfunc.h" -#include "nvim/ex_cmds2.h" +#include "nvim/ex_docmd.h" #include "nvim/ops.h" +#include "nvim/runtime.h" #include "nvim/strings.h" #include "nvim/vim.h" #include "nvim/viml/parser/expressions.h" |