mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +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.
18 lines
438 B
C
18 lines
438 B
C
#ifndef NVIM_API_EXTMARK_H
|
|
#define NVIM_API_EXTMARK_H
|
|
|
|
#include "nvim/api/private/defs.h"
|
|
#include "nvim/decoration.h"
|
|
#include "nvim/macros.h"
|
|
#include "nvim/map.h"
|
|
#include "nvim/map_defs.h"
|
|
#include "nvim/types.h"
|
|
|
|
EXTERN Map(String, handle_T) namespace_ids INIT(= MAP_INIT);
|
|
EXTERN handle_T next_namespace_id INIT(= 1);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "api/extmark.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_API_EXTMARK_H
|