mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +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
212 B
C
11 lines
212 B
C
#ifndef NVIM_TEXTFORMAT_H
|
|
#define NVIM_TEXTFORMAT_H
|
|
|
|
#include "nvim/normal.h"
|
|
#include "nvim/pos.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "textformat.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_TEXTFORMAT_H
|