refactor: remove some unused includes (#19747)

- Remove autocmd.h from fileio.h
- Remove normal.h from main.h
- Move bufinfo_T from undo_defs.h to undo.c
This commit is contained in:
zeertzjq
2022-08-13 08:59:11 +08:00
committed by GitHub
parent e23c5fda0a
commit 6f14c5d2dd
23 changed files with 22 additions and 21 deletions

View File

@@ -113,6 +113,12 @@
#include "nvim/types.h"
#include "nvim/undo.h"
/// Structure passed around between undofile functions.
typedef struct {
buf_T *bi_buf;
FILE *bi_fp;
} bufinfo_T;
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "undo.c.generated.h"
#endif