mirror of
https://github.com/neovim/neovim.git
synced 2026-02-06 04:21:42 +10: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.
20 lines
493 B
C
20 lines
493 B
C
#ifndef NVIM_STATUSLINE_H
|
|
#define NVIM_STATUSLINE_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "nvim/buffer_defs.h"
|
|
#include "nvim/macros.h"
|
|
#include "nvim/statusline_defs.h"
|
|
|
|
/// Array defining what should be done when tabline is clicked
|
|
EXTERN StlClickDefinition *tab_page_click_defs INIT(= NULL);
|
|
/// Size of the tab_page_click_defs array
|
|
EXTERN size_t tab_page_click_defs_size INIT(= 0);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "statusline.h.generated.h"
|
|
#endif
|
|
|
|
#endif // NVIM_STATUSLINE_H
|