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

@@ -15,6 +15,7 @@
#include "nvim/buffer_defs.h"
#include "nvim/change.h"
#include "nvim/cursor.h"
#include "nvim/eval/funcs.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/userfunc.h"
#include "nvim/event/loop.h"