refactor: move FunPtr to types.h (#19466)

This type itself is not eval-specific. Moving it to types.h can avoid
including eval/funcs.h in many headers, and types.h is already included
by many headers.
This commit is contained in:
zeertzjq
2022-07-22 22:05:02 +08:00
committed by GitHub
parent ac690f457e
commit a7b9920930
18 changed files with 8 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
#include "nvim/edit.h"
#include "nvim/eval.h"
#include "nvim/eval/encode.h"
#include "nvim/eval/funcs.h"
#include "nvim/eval/userfunc.h"
#include "nvim/eval/vars.h"
#include "nvim/ex_cmds2.h"