mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
diff: move diff globals to diff.h
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
#include "nvim/pos.h"
|
||||
#include "nvim/ex_cmds_defs.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
|
||||
|
Reference in New Issue
Block a user