mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user