mirror of
https://github.com/neovim/neovim.git
synced 2026-01-30 09:01:07 +10:00
It is less error-prone than manually defining header guards. Pretty much all compilers support it even if it's not part of the C standard.
19 lines
475 B
C
19 lines
475 B
C
#pragma once
|
|
|
|
#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
|