Files
neovim/src/nvim/diff.h
dundargoc 66360675cf build: allow IWYU to fix includes for all .c files
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.
2022-11-15 10:30:03 +01:00

21 lines
521 B
C

#ifndef NVIM_DIFF_H
#define NVIM_DIFF_H
#include <stdbool.h>
#include "nvim/ex_cmds_defs.h"
#include "nvim/macros.h"
#include "nvim/pos.h"
// Value set from 'diffopt'.
EXTERN int diff_context INIT(= 6); // context for folds
EXTERN int diff_foldcolumn INIT(= 2); // 'foldcolumn' for diff mode
EXTERN bool diff_need_scrollbind INIT(= false);
EXTERN bool need_diff_redraw INIT(= false); // need to call diff_redraw()
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "diff.h.generated.h"
#endif
#endif // NVIM_DIFF_H