mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +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:
@@ -617,6 +617,7 @@ char *arena_memdupz(Arena *arena, const char *buf, size_t size)
|
||||
|
||||
#if defined(EXITFREE)
|
||||
|
||||
# include "nvim/autocmd.h"
|
||||
# include "nvim/buffer.h"
|
||||
# include "nvim/charset.h"
|
||||
# include "nvim/cmdhist.h"
|
||||
@@ -627,7 +628,6 @@ char *arena_memdupz(Arena *arena, const char *buf, size_t size)
|
||||
# include "nvim/ex_docmd.h"
|
||||
# include "nvim/ex_getln.h"
|
||||
# include "nvim/file_search.h"
|
||||
# include "nvim/fileio.h"
|
||||
# include "nvim/fold.h"
|
||||
# include "nvim/getchar.h"
|
||||
# include "nvim/mark.h"
|
||||
|
Reference in New Issue
Block a user