mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +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.
31 lines
649 B
C
31 lines
649 B
C
#ifndef NVIM_DRAWLINE_H
|
|
#define NVIM_DRAWLINE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "klib/kvec.h"
|
|
#include "nvim/decoration_provider.h"
|
|
#include "nvim/fold.h"
|
|
#include "nvim/macros.h"
|
|
#include "nvim/screen.h"
|
|
#include "nvim/types.h"
|
|
|
|
// Maximum columns for terminal highlight attributes
|
|
#define TERM_ATTRS_MAX 1024
|
|
|
|
typedef struct {
|
|
NS ns_id;
|
|
uint64_t mark_id;
|
|
int win_row;
|
|
int win_col;
|
|
} WinExtmark;
|
|
EXTERN kvec_t(WinExtmark) win_extmark_arr INIT(= KV_INITIAL_VALUE);
|
|
|
|
EXTERN bool conceal_cursor_used INIT(= false);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "drawline.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_DRAWLINE_H
|