mirror of
https://github.com/neovim/neovim.git
synced 2026-01-22 04:40:35 +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.
20 lines
473 B
C
20 lines
473 B
C
#ifndef NVIM_SCREEN_H
|
|
#define NVIM_SCREEN_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "nvim/buffer_defs.h"
|
|
#include "nvim/fold.h"
|
|
#include "nvim/grid_defs.h"
|
|
#include "nvim/macros.h"
|
|
|
|
EXTERN match_T screen_search_hl; // used for 'hlsearch' highlight matching
|
|
|
|
#define W_ENDCOL(wp) ((wp)->w_wincol + (wp)->w_width)
|
|
#define W_ENDROW(wp) ((wp)->w_winrow + (wp)->w_height)
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "screen.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_SCREEN_H
|