mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 07:41:27 +00:00
Allow Include What You Use to remove unnecessary includes and only include what is necessary. This helps with reducing compilation times and makes it easier to visualise which dependencies are actually required. Work on https://github.com/neovim/neovim/issues/549, but doesn't close it since this only works fully for .c files and not headers.
14 lines
246 B
C
14 lines
246 B
C
#ifndef NVIM_MENU_H
|
|
#define NVIM_MENU_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "nvim/ex_cmds_defs.h"
|
|
#include "nvim/menu_defs.h"
|
|
#include "nvim/types.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "menu.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_MENU_H
|