mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +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.
11 lines
221 B
C
11 lines
221 B
C
#ifndef NVIM_OPTIONSTR_H
|
|
#define NVIM_OPTIONSTR_H
|
|
|
|
#include "nvim/buffer_defs.h"
|
|
#include "nvim/option_defs.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "optionstr.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_OPTIONSTR_H
|