mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +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.
10 lines
192 B
C
10 lines
192 B
C
#ifndef NVIM_EVAL_VARS_H
|
|
#define NVIM_EVAL_VARS_H
|
|
|
|
#include "nvim/ex_cmds_defs.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "eval/vars.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_EVAL_VARS_H
|